public final void contextInitialized(ServletContextEvent sce) {
ServletContext context = sce.getServletContext();
context.setAttribute(OryxResource.MODEL_MANAGER_KEY, getModelManager());
context.setAttribute(OryxResource.INPUT_PRODUCER_KEY, new MockTopicProducer());
}
<BUG>protected MockServingModelManager getModelManager() {
return new MockServingModelManager(ConfigUtils.getDefault());</BUG>
}
}
static class MockServingModelManager extends AbstractMockServingModelManager {

public final void contextInitialized(ServletContextEvent sce) {
ServletContext context = sce.getServletContext();
context.setAttribute(OryxResource.MODEL_MANAGER_KEY, getModelManager());
context.setAttribute(OryxResource.INPUT_PRODUCER_KEY, new MockTopicProducer());
}
MockServingModelManager getModelManager() {
return new MockServingModelManager(ConfigUtils.getDefault());
}
}
static class MockServingModelManager extends AbstractMockServingModelManager {
