assert TruncateResponse.serializer.deserialize(in, getVersion()) != null;
assert TruncateResponse.serializer.deserialize(in, getVersion()) != null;
assert MessageIn.read(in, getVersion(), "id") != null;
// set up some fake callbacks so deserialization knows that what it's deserializing is a TruncateResponse
MessagingService.instance().setCallbackForTests("tr1", new CallbackInfo(null, null, TruncateResponse.serializer));
MessagingService.instance().setCallbackForTests("tr2", new CallbackInfo(null, null, TruncateResponse.serializer));
assert MessageIn.read(in, getVersion(), "tr1") != null;
assert MessageIn.read(in, getVersion(), "tr2") != null;
in.close();
}