@Test
public void testGetCapacityGroupNotFound() {

    try {
        resource.getApplicationSLA("myFakeCapacityGroup", false);
    } catch (WebApplicationException e) {
        assertThat(e.getResponse().getStatus()).isEqualTo(404);
    }
}