### Question:
JSPrecondition extends SynchronizationEventNotifyingState { @Override public void signalizeIsDone() { eventSignalizer.signalizeEvent(this); } JSPrecondition(String eventName,
                          EventSignalizer eventSignalizer,
                          ReplayingState replayingState); @Override String getName(); @Override boolean isSatisfied(); @Override void signalizeIsDone();  }### Answer:
@Test public void delegatesToSignalizer() { JSPrecondition jsPrecondition = new JSPrecondition(eventName, eventSignalizer, replayingState); jsPrecondition.signalizeIsDone(); verify(eventSignalizer).signalizeEvent(jsPrecondition); }