mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/utils/TestReflectionsUtil.java
@Test
    public void testIsPrimitiveOrWrapper()
    {
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(int.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Boolean.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Integer.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Double.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Float.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Long.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Short.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Byte.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Character.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(String.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(TestEnum.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(TestObject.class), is(false));
    }
/**
     * Verify that the correct boolean value is returned for the class types passed in.
     */
Verify that the correct boolean value is returned for the class types passed in.
Verify that the correct boolean value is returned for the class types passed in .
@Test
    public void testIsPrimitiveOrWrapper()
    {
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(int.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Boolean.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Integer.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Double.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Float.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Long.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Short.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Byte.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(Character.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(String.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(TestEnum.class), is(true));
        assertThat(ReflectionsUtil.isPrimitiveOrWrapper(TestObject.class), is(false));
    }
@ Test public void testIsPrimitiveOrWrapper ( ) { assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( int . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Boolean . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Integer . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Double . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Float . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Long . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Short . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Byte . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( Character . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( String . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( TestEnum . class ) , is ( true ) ) ; assertThat ( ReflectionsUtil . isPrimitiveOrWrapper ( TestObject . class ) , is ( false ) ) ; }
Verify that the correct boolean value is returned for the class types passed in.
Verify that the correct boolean value is returned for the class types passed in .