mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/pm/TestWakeLockImpl.java
@Test
    public void testActivateWakeLockDateNoPPM()
    {
        m_SUT.unsetPlatformPowerManager(m_PPM);

        m_SUT.activate(new Date());

        verify(m_PPM, never()).activateWakeLock(eq(m_SUT), anyLong(), anyLong());
    }
/**
     * Test method for {@link WakeLockImpl#activate(java.util.Date)} with no {@link PlatformPowerManager}.
     */
Test method for  WakeLockImpl#activate(java.util.Date) with no  PlatformPowerManager.
Test method for WakeLockImpl#activate ( java . util . Date ) with no PlatformPowerManager .
@Test
    public void testActivateWakeLockDateNoPPM()
    {
        m_SUT.unsetPlatformPowerManager(m_PPM);
        m_SUT.activate(new Date());
        verify(m_PPM, never()).activateWakeLock(eq(m_SUT), anyLong(), anyLong());
    }
@ Test public void testActivateWakeLockDateNoPPM ( ) { m_SUT . unsetPlatformPowerManager ( m_PPM ) ; m_SUT . activate ( new Date ( ) ) ; verify ( m_PPM , never ( ) ) . activateWakeLock ( eq ( m_SUT ) , anyLong ( ) , anyLong ( ) ) ; }
Test method for {@link WakeLockImpl#activate(java.util.Date)} with no {@link PlatformPowerManager}.
Test method for { @link WakeLockImpl#activate ( java . util . Date ) } with no { @link PlatformPowerManager } .