private static final Class[] EMPTY_CLASS_ARRAY = new Class[0];
@Test
public void testGetAnnotatedIgnore()
{
JUnit4Reflector reflector = new JUnit4Reflector();
final Method testSomething2 =
ReflectionUtils.getMethod( IgnoreWithDescription.class, "testSomething2", EMPTY_CLASS_ARRAY );
final Annotation[] annotations = testSomething2.getAnnotations();
Description desc =
Description.createTestDescription( IgnoreWithDescription.class, "testSomething2", annotations );
Ignore annotatedIgnore = reflector.getAnnotatedIgnore( desc );
Assert.assertEquals( reason, annotatedIgnore.value() );
}