@Test
    void delete_works_on_suspended_and_not_suspended_applications() {
        // Delete an application that is not suspended
        HttpResponse httpResponse = executeRequest(Method.DELETE, "/"+RESOURCE_1, null);
        assertEquals(204, httpResponse.getStatus());

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

        // Check that it is in suspend
        httpResponse = executeRequest(Method.GET, "/"+RESOURCE_1, null);
        assertEquals(204, httpResponse.getStatus());

        // Delete it
        httpResponse = executeRequest(Method.DELETE, "/"+RESOURCE_1, null);
        assertEquals(204, httpResponse.getStatus());

        // Check that it is not in suspend anymore
        httpResponse = executeRequest(Method.GET, "/"+RESOURCE_1, null);
        assertEquals(404, 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