add expected=IllegalArgumentException.class to ToStringBuilderTest.testReflectionNull
This commit is contained in:
parent
39380da86a
commit
0e266204f5
|
@ -1041,7 +1041,7 @@ class InheritedReflectionStaticFieldsFixture extends SimpleReflectionStaticField
|
||||||
static final int staticInt2 = 67890;
|
static final int staticInt2 = 67890;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(expected=IllegalArgumentException.class)
|
||||||
public void testReflectionNull() {
|
public void testReflectionNull() {
|
||||||
assertEquals("<null>", ReflectionToStringBuilder.toString(null));
|
assertEquals("<null>", ReflectionToStringBuilder.toString(null));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue