@Test void remainingBehaviorsShouldReturnEmptyWhenNoValueStored() { assertThat(testee.remainingBehaviors()) .isEmpty(); }
Stream<MockSMTPBehaviorInformation> remainingBehaviors() { synchronized (behaviorsInformation) { return behaviorsInformation.stream() .filter(MockSMTPBehaviorInformation::hasRemainingAnswers); } }
SMTPBehaviorRepository { Stream<MockSMTPBehaviorInformation> remainingBehaviors() { synchronized (behaviorsInformation) { return behaviorsInformation.stream() .filter(MockSMTPBehaviorInformation::hasRemainingAnswers); } } }
SMTPBehaviorRepository { Stream<MockSMTPBehaviorInformation> remainingBehaviors() { synchronized (behaviorsInformation) { return behaviorsInformation.stream() .filter(MockSMTPBehaviorInformation::hasRemainingAnswers); } } SMTPBehaviorRepository(); }
SMTPBehaviorRepository { Stream<MockSMTPBehaviorInformation> remainingBehaviors() { synchronized (behaviorsInformation) { return behaviorsInformation.stream() .filter(MockSMTPBehaviorInformation::hasRemainingAnswers); } } SMTPBehaviorRepository();  }
SMTPBehaviorRepository { Stream<MockSMTPBehaviorInformation> remainingBehaviors() { synchronized (behaviorsInformation) { return behaviorsInformation.stream() .filter(MockSMTPBehaviorInformation::hasRemainingAnswers); } } SMTPBehaviorRepository();   }