### Question:
UndertowEmbeddedServer implements EmbeddedHttpServer { @Override public void configure(final Conf configuration) { config = configuration; serverConfig = ServerConfig.of(config); if (serverConfig.isSslEnable()) { sslContextFactory = new SSLContextFactory(serverConfig); } serverInfo = new ServerInfo(serverConfig.getListener(), serverConfig.getPort(), serverConfig.isSslEnable()); Collection<Module> jacksonModules = context.getAllComponents(Module.class); ExchangeHelper.JSON.registerModules(jacksonModules); initializeAzkarraStreamsServiceComponent(); } UndertowEmbeddedServer(final AzkarraContext context, final boolean enableServiceLoader); @Override void configure(final Conf configuration); @Override ServerInfo info(); @Override void start(); @Override void stop();  }### Answer:
@Test public void shouldRegisterUserSpecifiedJacksonModule() { AzkarraContext context = DefaultAzkarraContext.create(); context.registerComponent(Module.class, MyCustomModule::new); UndertowEmbeddedServer server = new UndertowEmbeddedServer(context, true); server.configure(Conf.empty()); ObjectMapper mapper = ExchangeHelper.JSON.unwrap(); Set<Object> registeredModuleIds = mapper.getRegisteredModuleIds(); Assertions.assertEquals(2, registeredModuleIds.size()); Assertions.assertTrue(registeredModuleIds.contains(AzkarraSimpleModule.class.getName())); Assertions.assertTrue(registeredModuleIds.contains(MyCustomModule.class.getName())); }