CaseProvisioningServiceImpl implements CaseProvisioningService { public void onCaseManagementProvisioningStartedEvent(@Observes CaseProvisioningStartedEvent event) { status = STARTED; }  @PostConstruct void init(); @Override CaseProvisioningStatus getProvisioningStatus(); void onCaseManagementProvisioningStartedEvent(@Observes CaseProvisioningStartedEvent event); void onCaseManagementProvisioningCompletedEvent(@Observes CaseProvisioningCompletedEvent event); void onCaseManagementProvisioningFailedEvent(@Observes CaseProvisioningFailedEvent event); @Override String getApplicationContext();  }
@Test public void testOnCaseManagementProvisioningStartedEvent() { service.onCaseManagementProvisioningStartedEvent(new CaseProvisioningStartedEvent()); assertEquals(STARTED, service.getProvisioningStatus()); }