class MockSMTPServer {

    Port getPort() {
        return Port.of(server.getPort());
    }

    private  MockSMTPServer(SMTPBehaviorRepository behaviorRepository, ReceivedMailRepository mailRepository, int port);

}