mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/pm/TestWakeLockImpl.java
@Test
    public void testCancelWakeLockNoPPM()
    {
        m_SUT.unsetPlatformPowerManager(m_PPM);
        m_SUT.cancel();
        verify(m_PPM, never()).cancelWakeLock(m_SUT);
    }
/**
     * Test method for {@link WakeLockImpl#cancel()} with no {@link PlatformPowerManager}.
     */
Test method for  WakeLockImpl#cancel() with no  PlatformPowerManager.
Test method for WakeLockImpl#cancel () with no PlatformPowerManager .
@Test
    public void testCancelWakeLockNoPPM()
    {
        m_SUT.unsetPlatformPowerManager(m_PPM);
        m_SUT.cancel();
        verify(m_PPM, never()).cancelWakeLock(m_SUT);
    }
@ Test public void testCancelWakeLockNoPPM ( ) { m_SUT . unsetPlatformPowerManager ( m_PPM ) ; m_SUT . cancel ( ) ; verify ( m_PPM , never ( ) ) . cancelWakeLock ( m_SUT ) ; }
Test method for {@link WakeLockImpl#cancel()} with no {@link PlatformPowerManager}.
Test method for { @link WakeLockImpl#cancel () } with no { @link PlatformPowerManager } .