mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestPowerManagerCommands.java
@Test
    public void testGetInactiveWakeLocks()
    {
        Set<WakeLock> inactiveLocks = m_SUT.getWakeLocks("Inactive");
        assertThat(inactiveLocks.size(), is(1));
        
        List<String> lockIds = new ArrayList<>();
        lockIds.add("inactiveLock");
        
        verifyLocks(lockIds, inactiveLocks);
    }
/**
     * Verify that correct inactive locks are returned.
     */
Verify that correct inactive locks are returned.
Verify that correct inactive locks are returned .
@Test
    public void testGetInactiveWakeLocks()
    {
        Set<WakeLock> inactiveLocks = m_SUT.getWakeLocks("Inactive");
        assertThat(inactiveLocks.size(), is(1));
        List<String> lockIds = new ArrayList<>();
        lockIds.add("inactiveLock");
        verifyLocks(lockIds, inactiveLocks);
    }
@ Test public void testGetInactiveWakeLocks ( ) { Set < WakeLock > inactiveLocks = m_SUT . getWakeLocks ( "Inactive" ) ; assertThat ( inactiveLocks . size ( ) , is ( 1 ) ) ; List < String > lockIds = new ArrayList < > ( ) ; lockIds . add ( "inactiveLock" ) ; verifyLocks ( lockIds , inactiveLocks ) ; }
Verify that correct inactive locks are returned.
Verify that correct inactive locks are returned .