determine if an Object is of primitive type

This commit is contained in:
joe zhang 2020-07-30 21:09:33 +08:00
parent 1deeca3b47
commit f29c757e18
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class PrimitiveTypeUtilTest {
}
@Test
public void givenObjectWhenCheckWithCommansLangShouldValidate() {
public void givenObjectWhenCheckWithCommonsLangShouldValidate() {
assertTrue(primitiveTypeUtil.isPrimitiveTypeByCommansLang(booleanVal));
assertTrue(primitiveTypeUtil.isPrimitiveTypeByCommansLang(longWrapper));
assertFalse(primitiveTypeUtil.isPrimitiveTypeByCommansLang(nonPrimitiveVal));