@Test
    void get_application_status_returns_404_for_not_suspended_and_204_for_suspended() {
        // Get on application that is not suspended
        HttpResponse httpResponse = executeRequest(Method.GET, "/"+RESOURCE_1, null);
        assertEquals(404, httpResponse.getStatus());

        // Post application
        httpResponse = executeRequest(Method.POST, "", RESOURCE_1);
        assertEquals(204, httpResponse.getStatus());

        // Get on the application that now should be in suspended
        httpResponse = executeRequest(Method.GET, "/"+RESOURCE_1, null);
        assertEquals(204, httpResponse.getStatus());
    }
Tests the implementation of the orchestrator Application API.

@author smorgrav
@author bjorncs
orchestrator/src/test/java/com/yahoo/vespa/orchestrator/resources/ApplicationSuspensionRequestHandlerTest.java