mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestPowerManagerCommands.java
@Test
    public void testGetActiveWakeLocks()
    {
        Set<WakeLock> activeLocks = m_SUT.getWakeLocks("Active");
        
        assertThat(activeLocks.size(), is(2));
        
        List<String> lockIds = new ArrayList<String>();
        lockIds.add("activeLock1");
        lockIds.add("activeLock2");
        verifyLocks(lockIds, activeLocks);
    }
/**
     * Verify that correct active locks are returned.
     */
Verify that correct active locks are returned.
Verify that correct active locks are returned .
@Test
    public void testGetActiveWakeLocks()
    {
        Set<WakeLock> activeLocks = m_SUT.getWakeLocks("Active");
        assertThat(activeLocks.size(), is(2));
        List<String> lockIds = new ArrayList<String>();
        lockIds.add("activeLock1");
        lockIds.add("activeLock2");
        verifyLocks(lockIds, activeLocks);
    }
@ Test public void testGetActiveWakeLocks ( ) { Set < WakeLock > activeLocks = m_SUT . getWakeLocks ( "Active" ) ; assertThat ( activeLocks . size ( ) , is ( 2 ) ) ; List < String > lockIds = new ArrayList < String > ( ) ; lockIds . add ( "activeLock1" ) ; lockIds . add ( "activeLock2" ) ; verifyLocks ( lockIds , activeLocks ) ; }
Verify that correct active locks are returned.
Verify that correct active locks are returned .