accountManagement.addUser(EntityImpl.parseUnchecked(TEST_USERNAME1), TEST_PASSWORD1);
accountManagement.addUser(EntityImpl.parseUnchecked(TEST_USERNAME2), TEST_PASSWORD2);
server = new XMPPServer(SERVER_DOMAIN);
TCPEndpoint endpoint = new TCPEndpoint();
endpoint.setPort(port);
server.addEndpoint(endpoint);
server.setStorageProviderRegistry(providerRegistry);
server.setTLSCertificateInfo(new File("src/main/config/bogus_mina_tls.cert"), "boguspw");