@Test
public void saveWithSuccessTest() {

    Mockito.when(developerRepository.save(Mockito.any(Developer.class))).thenReturn(developer);
    Developer saved = developerService.save(developerDTO);
    assertEquals(developer, saved);
}