### Question:
JSPrecondition extends SynchronizationEventNotifyingState { @Override public boolean isSatisfied() { return replayingState.isSatisfied(eventName); } JSPrecondition(String eventName,
                          EventSignalizer eventSignalizer,
                          ReplayingState replayingState); @Override String getName(); @Override boolean isSatisfied(); @Override void signalizeIsDone();  }### Answer:
@Test public void delegatesToReplayRequestFilter() { when(replayingState.isSatisfied(eventName)).thenReturn(true); JSPrecondition jsPrecondition = new JSPrecondition(eventName, eventSignalizer, replayingState); assertTrue(jsPrecondition.isSatisfied()); }