@Test
public void deleteEnviroment() {

     Mockito.when(environmentRepository.findOne(Mockito.anyLong())).thenReturn(environment);
     this.environmentService.delete(1L);
     Mockito.verify(this.environmentRepository, Mockito.times(1)).delete(environment);
}