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