Alter assertions to get the class of CharUtils instead of BooleanUtils.
This commit is contained in:
parent
d82301acbd
commit
d94d76bbec
|
@ -52,8 +52,8 @@ public class CharUtilsTest {
|
||||||
final Constructor<?>[] cons = CharUtils.class.getDeclaredConstructors();
|
final Constructor<?>[] cons = CharUtils.class.getDeclaredConstructors();
|
||||||
assertEquals(1, cons.length);
|
assertEquals(1, cons.length);
|
||||||
assertTrue(Modifier.isPublic(cons[0].getModifiers()));
|
assertTrue(Modifier.isPublic(cons[0].getModifiers()));
|
||||||
assertTrue(Modifier.isPublic(BooleanUtils.class.getModifiers()));
|
assertTrue(Modifier.isPublic(CharUtils.class.getModifiers()));
|
||||||
assertFalse(Modifier.isFinal(BooleanUtils.class.getModifiers()));
|
assertFalse(Modifier.isFinal(CharUtils.class.getModifiers()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue