@Test(groups = "Integration", dependsOnMethods = "testDeployRedisApplication")
 public void testListSensorsRedis() throws Exception {
   String entityId =
       getManagementContext()
           .getApplications()
           .iterator()
           .next()
           .getChildren()
           .iterator()
           .next()
           .getId();
   Collection<SensorSummary> sensors = api.getSensorApi().list("redis-app", entityId);
   assertTrue(sensors.size() > 0);
   SensorSummary uptime =
       Iterables.find(
           sensors,
           new Predicate<SensorSummary>() {
             @Override
             public boolean apply(SensorSummary sensorSummary) {
               return sensorSummary.getName().equals("redis.uptime");
             }
           });
   assertEquals(uptime.getType(), "java.lang.Integer");
 }