### Question:
ServerSynchronization extends UnicastExportable implements RemoteSynchronization { public void afterCompletion(int status) { sync.afterCompletion(status); } ServerSynchronization(Synchronization sync, Exporter exporter); void afterCompletion(int status); void beforeCompletion();  }### Answer:
@Test public void testAfterCompletion() throws RemoteException { reset(sync); sync.afterCompletion(42); replay(sync); ss.afterCompletion(42); verify(sync); }