mil.dod.th.ose.utils/test/mil/dod/th/ose/utils/TestConfigurationUtils.java
@Test
    public void testConvertToClassType()
    {
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.BOOLEAN).getSimpleName(), is("Boolean"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.BYTE).getSimpleName(), is("Byte"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.CHARACTER).getSimpleName(), 
                is("Character"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.DOUBLE).getSimpleName(), is("Double"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.FLOAT).getSimpleName(), is("Float"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.INTEGER).getSimpleName(), is("Integer"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.LONG).getSimpleName(), is("Long"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.SHORT).getSimpleName(), is("Short"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.STRING).getSimpleName(), is("String"));
    }
/**
     * Verify the proper class is returned for the given {@link AttributeDefinition} type.
     */
Verify the proper class is returned for the given  AttributeDefinition type.
Verify the proper class is returned for the given AttributeDefinition type .
@Test
    public void testConvertToClassType()
    {
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.BOOLEAN).getSimpleName(), is("Boolean"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.BYTE).getSimpleName(), is("Byte"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.CHARACTER).getSimpleName(), 
                is("Character"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.DOUBLE).getSimpleName(), is("Double"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.FLOAT).getSimpleName(), is("Float"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.INTEGER).getSimpleName(), is("Integer"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.LONG).getSimpleName(), is("Long"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.SHORT).getSimpleName(), is("Short"));
        assertThat(ConfigurationUtils.convertToClassType(AttributeDefinition.STRING).getSimpleName(), is("String"));
    }
@ Test public void testConvertToClassType ( ) { assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . BOOLEAN ) . getSimpleName ( ) , is ( "Boolean" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . BYTE ) . getSimpleName ( ) , is ( "Byte" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . CHARACTER ) . getSimpleName ( ) , is ( "Character" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . DOUBLE ) . getSimpleName ( ) , is ( "Double" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . FLOAT ) . getSimpleName ( ) , is ( "Float" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . INTEGER ) . getSimpleName ( ) , is ( "Integer" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . LONG ) . getSimpleName ( ) , is ( "Long" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . SHORT ) . getSimpleName ( ) , is ( "Short" ) ) ; assertThat ( ConfigurationUtils . convertToClassType ( AttributeDefinition . STRING ) . getSimpleName ( ) , is ( "String" ) ) ; }
Verify the proper class is returned for the given {@link AttributeDefinition} type.
Verify the proper class is returned for the given { @link AttributeDefinition } type .