@Test
public void testGetEntitiesFromApplication() throws Exception {

    String json = TestUtils.getStringFromPath(TestFixtures.ENTITIES_PATH);
    getMockWebServer().enqueue(new MockResponse()
                    .setBody(json)
                    .setHeader("Accept", MediaType.APPLICATION_JSON)
                    .setHeader("Content-Type", MediaType.APPLICATION_JSON)
    );
    List<EntitySummary> response = getProxy().getEntitiesFromApplication(RANDOM_STRING);
    List<EntitySummary> fixture = ObjectMapperHelpers.JsonToObjectCollection(json, EntitySummary.class);
    assertEquals(fixture, response);
}