Alter assertions to get the class of CharUtils instead of BooleanUtils.

This commit is contained in:
Isira Seneviratne 2020-04-19 21:12:57 +05:30
parent d82301acbd
commit d94d76bbec
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ public class CharUtilsTest {
final Constructor<?>[] cons = CharUtils.class.getDeclaredConstructors();
assertEquals(1, cons.length);
assertTrue(Modifier.isPublic(cons[0].getModifiers()));
assertTrue(Modifier.isPublic(BooleanUtils.class.getModifiers()));
assertFalse(Modifier.isFinal(BooleanUtils.class.getModifiers()));
assertTrue(Modifier.isPublic(CharUtils.class.getModifiers()));
assertFalse(Modifier.isFinal(CharUtils.class.getModifiers()));
}
@Test