determine if an Object is of primitive type
This commit is contained in:
parent
1deeca3b47
commit
f29c757e18
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue