@Test
public void testDeployApplication() throws Exception {

    String json = TestUtils.getStringFromPath(TestFixtures.TASK_SUMMARY_DEPLOY_PATH);
    String tosca = TestUtils.getStringFromPath(TestFixtures.TOSCA_DAM_PATH);
    getMockWebServer().enqueue(new MockResponse()
                    .setBody(json)
                    .setHeader("Accept", MediaType.APPLICATION_JSON)
                    .setHeader("Content-Type", MediaType.APPLICATION_JSON)
    );
    TaskSummary response = getProxy().deployApplication(tosca);
    // TaskSummary doesn't implement equals(), so we are going to check the IDs
    TaskSummary fixture = ObjectMapperHelpers.JsonToObject(json, TaskSummary.class);
    assertEquals(fixture.getId(), response.getId());
}