class SMTPBehaviorRepository {

    Stream<MockSMTPBehaviorInformation> remainingBehaviors() {
        synchronized (behaviorsInformation) {
            return behaviorsInformation.stream()
                .filter(MockSMTPBehaviorInformation::hasRemainingAnswers);
        }
    }

      SMTPBehaviorRepository();

}