// was not instantiated yet
assertEventFired(BeforeDroneInstantiated.class, 0);
assertEventFired(AfterDroneInstantiated.class, 0);
TestEnricher testEnricher = serviceLoader.onlyOne(TestEnricher.class);
testEnricher.enrich(instance);
// enriched did the instantiation
assertEventFired(BeforeDroneInstantiated.class, 2);
assertEventFired(AfterDroneInstantiated.class, 2);
Object[] dummyParameters = testEnricher.resolve(testDummyMethod);
assertEventFired(BeforeDroneInstantiated.class, 2);
assertEventFired(AfterDroneInstantiated.class, 2);
testDummyMethod.invoke(instance, dummyParameters);