mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestPowerManagerCommands.java
@Test
    public void testGetWakeLockContexts()
    {
        Set<Class<?>> contexts = m_SUT.getWakeLockContexts();
        assertThat(contexts.size(), is(1));
        
        for (Class<?> context : contexts)
        {
            assertThat(context.getCanonicalName(), is(ActiveContextClass.class.getCanonicalName()));
        }
    }
/**
     * Verify that the correct contexts are returned.
     */
Verify that the correct contexts are returned.
Verify that the correct contexts are returned .
@Test
    public void testGetWakeLockContexts()
    {
        Set<Class<?>> contexts = m_SUT.getWakeLockContexts();
        assertThat(contexts.size(), is(1));
        for (Class<?> context : contexts)
        {
            assertThat(context.getCanonicalName(), is(ActiveContextClass.class.getCanonicalName()));
        }
    }
@ Test public void testGetWakeLockContexts ( ) { Set < Class < ? > > contexts = m_SUT . getWakeLockContexts ( ) ; assertThat ( contexts . size ( ) , is ( 1 ) ) ; for ( Class < ? > context : contexts ) { assertThat ( context . getCanonicalName ( ) , is ( ActiveContextClass . class . getCanonicalName ( ) ) ) ; } }
Verify that the correct contexts are returned.
Verify that the correct contexts are returned .