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);
MockDroneConfiguration configuration = context.get(MockDroneConfiguration.class);
Assert.assertNull("There is no MockDroneConfiguration with @Default qualifier", configuration);
configuration = context.get(MockDroneConfiguration.class, Different.class);
Assert.assertNotNull("MockDroneConfiguration is stored with @Different qualifier", configuration);
Assert.assertEquals("MockDroneConfiguration field is set via System properties", MockDroneFactory.FIELD_OVERRIDE, configuration.getField());
manager.getContext(ClassContext.class).deactivate();
manager.getContext(ClassContext.class).destroy(EnrichedClass.class);
}