}
public void testSerializeMessageUpdate() throws Exception {
Graph g = new Graph(TEST_GRAPH);
Actor fantomas = g.getActor("Fantomas");
assertNotNull(fantomas);
Actor poirot = g.getActor("Poirot");
assertNotNull(poirot);
Actor batman = g.getActor("Batman");
assertNotNull(batman);
Actor joker = g.getActor("Joker");
assertNotNull(joker);
TransportType bus = g.getTransportType("bus");
assertNotNull(bus);
TransportType tram = g.getTransportType("tram");
assertNotNull(tram);
Node n3 = g.getNode("3");
assertNotNull(n3);
Node n4 = g.getNode("4");
assertNotNull(n4);
ActorMove[] moves = new ActorMove[] {
new ActorMove(fantomas, n3, null),
new ActorMove(poirot, null, bus),
new ActorMove(batman, n4, tram),
};
joker.capture();
MessageUpdate msg = new MessageUpdate(g, moves, null);
Properties[] msgData = msg.serialize();
assertNotNull(msgData);