@BeforeEach
	public void setup() throws NoSuchAlgorithmException {
		MockitoAnnotations.openMocks(this);
		int randomPort = SecureRandom.getInstanceStrong().nextInt(1024,65536);
		smtpServer = new BaseSmtpServer("FakeSMTPServer", messageHandlerFactory, new SmtpCommandConfig().commandHandler(), new TimeBasedSessionIdFactory(), true);
		smtpServer.setPort(randomPort);
		smtpServer.start();
	}
This class tests whether the event handler methods defined in MessageHandler
are called at the appropriate times and in good order.
src/test/java/de/gessnerfl/fakesmtp/smtp/server/MessageHandlerTest.java