@Test
public void saveEnvironmentSuccess() {

     Mockito.when(environmentRepository.save(Mockito.any(Environment.class))).thenReturn(environment);
     Environment saved = environmentService.save(environmentDTO);
     assertEquals(saved.getId(), environment.getId());
}