@Test public void testRelease() { final SleepPreventer s = new IOKitSleepPreventer(); final String lock = s.lock(); Assert.assertNotNull(lock); s.release(lock); }
@Override public void release(final String id) { synchronized(lock) { this.releaseAssertion(id); } }
IOKitSleepPreventer implements SleepPreventer { @Override public void release(final String id) { synchronized(lock) { this.releaseAssertion(id); } } }
IOKitSleepPreventer implements SleepPreventer { @Override public void release(final String id) { synchronized(lock) { this.releaseAssertion(id); } }  }
IOKitSleepPreventer implements SleepPreventer { @Override public void release(final String id) { synchronized(lock) { this.releaseAssertion(id); } }  @Override String lock(); @Override void release(final String id); }
IOKitSleepPreventer implements SleepPreventer { @Override public void release(final String id) { synchronized(lock) { this.releaseAssertion(id); } }  @Override String lock(); @Override void release(final String id);  }