mil.dod.th.ose.remote/test/mil/dod/th/ose/remote/objectconverter/TestCommandConverterImpl.java
@Test
    public void testRetrieveProtoClassName() throws ClassNotFoundException
    {
        Class<? extends Message> protoClass = m_SUT.retrieveProtoClass(CommandTypeEnum.CAPTURE_IMAGE_COMMAND);
        
        assertThat(protoClass.getName(), 
                is("mil.dod.th.remote.lexicon.asset.commands.CaptureImageCommandGen$CaptureImageCommand"));
        
        Class<? extends Message> protoResponseClass = m_SUT
                .retrieveProtoClass(CommandResponseEnum.CAPTURE_IMAGE_RESPONSE);
        
        assertThat(protoResponseClass.getName(), 
                is("mil.dod.th.remote.lexicon.asset.commands.CaptureImageResponseGen$CaptureImageResponse"));
    }
/**
     * verify that the correct proto class name is generated for a given string name.
     */
verify that the correct proto class name is generated for a given string name.
verify that the correct proto class name is generated for a given string name .
@Test
    public void testRetrieveProtoClassName() throws ClassNotFoundException
    {
        Class<? extends Message> protoClass = m_SUT.retrieveProtoClass(CommandTypeEnum.CAPTURE_IMAGE_COMMAND);
        assertThat(protoClass.getName(), 
                is("mil.dod.th.remote.lexicon.asset.commands.CaptureImageCommandGen$CaptureImageCommand"));
        Class<? extends Message> protoResponseClass = m_SUT
                .retrieveProtoClass(CommandResponseEnum.CAPTURE_IMAGE_RESPONSE);
        assertThat(protoResponseClass.getName(), 
                is("mil.dod.th.remote.lexicon.asset.commands.CaptureImageResponseGen$CaptureImageResponse"));
    }
@ Test public void testRetrieveProtoClassName ( ) throws ClassNotFoundException { Class < ? extends Message > protoClass = m_SUT . retrieveProtoClass ( CommandTypeEnum . CAPTURE_IMAGE_COMMAND ) ; assertThat ( protoClass . getName ( ) , is ( "mil.dod.th.remote.lexicon.asset.commands.CaptureImageCommandGen$CaptureImageCommand" ) ) ; Class < ? extends Message > protoResponseClass = m_SUT . retrieveProtoClass ( CommandResponseEnum . CAPTURE_IMAGE_RESPONSE ) ; assertThat ( protoResponseClass . getName ( ) , is ( "mil.dod.th.remote.lexicon.asset.commands.CaptureImageResponseGen$CaptureImageResponse" ) ) ; }
verify that the correct proto class name is generated for a given string name.
verify that the correct proto class name is generated for a given string name .