IPacmanInteraction eventHandler = ui.eventHandler();
// now trigger interesting events.
eventHandler.start();
eventHandler.up();
eventHandler.left();
// give the ghosts some time to move.
final int nrOfGhostMovesToWait = 10;
Thread.sleep(nrOfGhostMovesToWait * AbstractGhostMover.DELAY);