mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestRemoteServiceCommands.java
@Test
    public void testMessageFactory()
    {
        MessageFactory messageFactory = mock(MessageFactory.class);
        
        m_SUT.setMessageFactory(messageFactory);
        
        assertThat("Command 'msgFty' returns the MessageFactory service", m_SUT.msgFty(), is(messageFactory));
    }
/**
     * Verify that the message factory command will retrieve the correct service.
     */
Verify that the message factory command will retrieve the correct service.
Verify that the message factory command will retrieve the correct service .
@Test
    public void testMessageFactory()
    {
        MessageFactory messageFactory = mock(MessageFactory.class);
        m_SUT.setMessageFactory(messageFactory);
        assertThat("Command 'msgFty' returns the MessageFactory service", m_SUT.msgFty(), is(messageFactory));
    }
@ Test public void testMessageFactory ( ) { MessageFactory messageFactory = mock ( MessageFactory . class ) ; m_SUT . setMessageFactory ( messageFactory ) ; assertThat ( "Command 'msgFty' returns the MessageFactory service" , m_SUT . msgFty ( ) , is ( messageFactory ) ) ; }
Verify that the message factory command will retrieve the correct service.
Verify that the message factory command will retrieve the correct service .