SpringFxContextLoader extends FxContextLoader<SpringFxWeaver> { @Override public SpringFxWeaver start() { ConfigurableApplicationContext context = contextLoader.get(); return context.getBean(SpringFxWeaver.class); } SpringFxContextLoader(Supplier<ConfigurableApplicationContext> contextLoader); @Override SpringFxWeaver start();  }
@Test public void testStart() throws Exception { assertThat( new SpringFxContextLoader(() -> new AnnotationConfigApplicationContext("net.rgielen.fxweaver.spring")) .start() ).isNotNull(); }