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