add expected=IllegalArgumentException.class to ToStringBuilderTest.testReflectionNull

This commit is contained in:
Jack 2015-05-06 13:34:37 +08:00
parent 39380da86a
commit 0e266204f5
1 changed files with 1 additions and 1 deletions

View File

@ -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));
} }