@Test public void should_clean_up_lock_when_run() { task.run(); verify(lock).cleanup(); }
@Override public void run() { lock.cleanup(); }
ShutdownTask implements Runnable { @Override public void run() { lock.cleanup(); } }
ShutdownTask implements Runnable { @Override public void run() { lock.cleanup(); } ShutdownTask(LiquigraphLock lock); }
ShutdownTask implements Runnable { @Override public void run() { lock.cleanup(); } ShutdownTask(LiquigraphLock lock); @Override void run(); }
ShutdownTask implements Runnable { @Override public void run() { lock.cleanup(); } ShutdownTask(LiquigraphLock lock); @Override void run();  }