### Question:
ClientSynchronization implements Synchronization { public void afterCompletion(int status) { try { remote.afterCompletion(status); } catch (RemoteException e) { log.warn("Failed to execute afterCompletion() on remote", e); throw new RuntimeException("Failure to contact remote", e); } } ClientSynchronization(RemoteSynchronization remote); void afterCompletion(int status); void beforeCompletion();  }### Answer:
@Test public void testAfterCompletion() { reset(sync); sync.afterCompletion(42); replay(sync); cs.afterCompletion(42); verify(sync); }