@Test
public void testGetSerializedRequest()
{

  String pubId = "TestPublisher";
  long windowId = 0xcafebabe000000ffL;
  byte[] serial = PublishRequestTuple.getSerializedRequest(null, pubId, windowId);
  PublishRequestTuple request = (PublishRequestTuple)Tuple.getTuple(serial, 0, serial.length);
  assertEquals(request.identifier, pubId, "Identifier");
  assertEquals((long)request.baseSeconds << 32 | request.windowId, windowId, "Window");
}