mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestThoseCommands.java
@Test
    public void testPm()
    {
        m_PowerManager = mock(PowerManager.class);
        
        m_SUT.setPowerManager(m_PowerManager);
        
        assertThat("Command 'pwrMgr' returns the PowerManager service", m_SUT.pwrMgr(), is(m_PowerManager));
    }
/**
     * Verify that the power manager command will retrieve the correct service.
     */
Verify that the power manager command will retrieve the correct service.
Verify that the power manager command will retrieve the correct service .
@Test
    public void testPm()
    {
        m_PowerManager = mock(PowerManager.class);
        m_SUT.setPowerManager(m_PowerManager);
        assertThat("Command 'pwrMgr' returns the PowerManager service", m_SUT.pwrMgr(), is(m_PowerManager));
    }
@ Test public void testPm ( ) { m_PowerManager = mock ( PowerManager . class ) ; m_SUT . setPowerManager ( m_PowerManager ) ; assertThat ( "Command 'pwrMgr' returns the PowerManager service" , m_SUT . pwrMgr ( ) , is ( m_PowerManager ) ) ; }
Verify that the power manager command will retrieve the correct service.
Verify that the power manager command will retrieve the correct service .