mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestThoseCommands.java
@Test
    public void testValidator()
    {
        Validator validator = mock(Validator.class);
        
        m_SUT.setValidator(validator);
        
        assertThat("Command 'validator' returns the Validator service", m_SUT.validator(), is(validator));
    }
/**
     * Verify that the validator command will retrieve the correct service.
     */
Verify that the validator command will retrieve the correct service.
Verify that the validator command will retrieve the correct service .
@Test
    public void testValidator()
    {
        Validator validator = mock(Validator.class);
        m_SUT.setValidator(validator);
        assertThat("Command 'validator' returns the Validator service", m_SUT.validator(), is(validator));
    }
@ Test public void testValidator ( ) { Validator validator = mock ( Validator . class ) ; m_SUT . setValidator ( validator ) ; assertThat ( "Command 'validator' returns the Validator service" , m_SUT . validator ( ) , is ( validator ) ) ; }
Verify that the validator command will retrieve the correct service.
Verify that the validator command will retrieve the correct service .