### Question:
ConfigurationEventService implements EntityEventService { @Override public void updateEventsWithChildrenAndIssues(final Long id) { eventManager.addUpdateEventsForIssues(id, AclClass.CONFIGURATION); eventManager.addUpdateEvent(EventObjectType.CONFIGURATION.name().toLowerCase(), id); }  @Override AclClass getSupportedClass(); @Override void updateEventsWithChildrenAndIssues(final Long id);  }### Answer:
@Test @Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class) public void shouldAddConfigurationEvent() { when(issueManager.loadIssuesForEntity(any())) .thenReturn(Arrays.asList(Issue.builder().id(1L).build(), Issue.builder().id(2L).build())); doNothing().when(eventDao).insertUpdateEvent(anyString(), anyLong()); configurationEventService.updateEventsWithChildrenAndIssues(1L); verify(eventDao).insertUpdateEvent("configuration", 1L); verify(eventDao).insertUpdateEvent("issue", 1L); verify(eventDao).insertUpdateEvent("issue", 2L); verifyNoMoreInteractions(eventDao); }