@Test
public void testGetSensors() throws Exception {

    List<Map<String, Object>> response =
            (List<Map<String, Object>>) monitorResource.getEntitySensorMapList(applicationData.getSeaCloudsApplicationId()).getEntity();
    for (Map<String, Object> entityMetricsPair : response) {
        List sensors = (List) entityMetricsPair.get("sensors");
        assertEquals(sensors.size(), 5);
    }
}