Mockito.when(serviceLoader.all(Configurator.class))
.thenReturn(Arrays.<Configurator> asList(new DefaultSeleniumFactory(), new WebDriverFactory(), new MockDroneFactory()));
manager.fire(new BeforeSuite());
DroneRegistry registry = manager.getContext(SuiteContext.class).getObjectStore().get(DroneRegistry.class);
Assert.assertNotNull("Drone registry was created in the context", registry);
Assert.assertTrue("Configurator is of mock type", registry.getConfiguratorFor(MockDroneInstance.class) instanceof MockDroneFactory);
manager.fire(new BeforeClass(EnrichedClass.class));
DroneContext context = manager.getContext(ClassContext.class).getObjectStore().get(DroneContext.class);
Assert.assertNotNull("Drone object holder was created in the context", context);