String val = alertStatusMap.get(AlertValueAndStatus.VALUE_NAME);
boolean fired = Boolean.parseBoolean(alertStatusMap.get(AlertValueAndStatus.FIRED_NAME));
Assert.assertEquals(Double.parseDouble(val), (double)i * 5 + 0.1);
Assert.assertTrue(fired);
}
ZNRecord alertHistory = accessor.getProperty(keyBuilder.alertHistory()).getRecord();
String deltakey = (String) (alertHistory.getMapFields().keySet().toArray()[0]);
Map<String, String> delta = alertHistory.getMapField(deltakey);
Assert.assertEquals(delta.size() , 3);
for(int i = 2; i < 5; i++)