@Test
public void testGetAllApplicationSLAs() throws Exception {

    when(storage.findAll()).thenReturn(Observable.from(generator.next(2)));
    List<ApplicationSLA> result = new ArrayList<>(slaManagementService.getApplicationSLAs());
    assertThat(result).hasSize(2);
}