@SuppressWarnings("unchecked")
public void testZookeeperProcessor() {
JSONObject json = getJSONObject();
json.put("packetsSent", "2049");
json.put("NodeCount", "40");
byte[] data = json.toString().getBytes();
ZookeeperProcessor p = new ZookeeperProcessor();
ChunkImpl ch = new ChunkImpl("TestType", "Test", data.length, data,
null);
String failMsg = testProcessor(p, json, ch);
assertNull(failMsg, failMsg);
json.put("packetsSent", "2122");
data = json.toString().getBytes();
ch = new ChunkImpl("TestType", "Test", data.length, data, null);
json.put("packetsSent", "73");
failMsg = testProcessor(p, json, ch);
assertNull(failMsg, failMsg);
}