@Test
public void getNonExistingApplicationByNameFails() {

    String myMissingApp = "myMissingApp";
    when(capacityManagementService.getApplicationSLA(any())).thenReturn(null);
    testClient.get().uri(myMissingApp).exchange()
            .expectStatus().isNotFound();
    verify(capacityManagementService, times(1)).getApplicationSLA(myMissingApp);
}