JavaApplicationManager extends ApplicationManager { @Override protected EntryPoint initializeEntryPoint() throws Exception { final Class<? extends EntryPoint> entryPointClassName = configuration.getEntryPointClass(); return entryPointClassName.getDeclaredConstructor().newInstance(); }  @Override void start();  }
@Test public void testStartApplication() throws Exception { configuration.setEntryPointClass(SampleEntryPoint.class); applicationManager.startApplication(UIContext.get()); assertEquals(SampleEntryPoint.class, applicationManager.initializeEntryPoint().getClass()); }