@Test
public void testSetupWorkItemDefinitionElements() throws Exception {

    final HashMap<String, String> expectedDefinitionElements = new HashMap<>();
    doReturn(expectedDefinitionElements).when(service).loadWorkItemDefinitionElements();
    service.setupWorkItemDefinitionElements();
    final Map<String, String> actualDefinitionElements = service.loadDefinitionElements().getDefinitionElements();
    verify(saveAndRenameService).init(service);
    assertEquals(expectedDefinitionElements, actualDefinitionElements);
}