determine if an Object is of primitive type

This commit is contained in:
joe zhang
2020-07-30 21:09:33 +08:00
parent c1eb5dfb08
commit cf8390c5db

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