@@ -0,0 +1,735 @@
+package uk.me.graphe.server;%0A%0Aimport junit.framework.Assert;%0Aimport junit.framework.TestCase;%0Aimport uk.me.graphe.server.messages.HeartbeatMessage;%0Aimport uk.me.graphe.server.messages.Message;%0A%0Apublic class HeartbeatTest extends TestCase %7B%0A    %0A    private TestClient mTestClient;%0A    %0A    @Override%0A    public void setUp() %7B%0A        mTestClient = new TestClient();%0A        mTestClient.bringUpServer();%0A        mTestClient.connect();%0A    %7D%0A    %0A    public void testHeartbeat() %7B%0A        mTestClient.sendMessage(new HeartbeatMessage());%0A        Message m = mTestClient.readNextMessage();%0A        Assert.assertEquals(%22heartbeat%22, m.getMessage());%0A    %7D%0A    %0A    @Override%0A    public void tearDown() %7B%0A        mTestClient = null;%0A    %7D%0A%7D%0A

add a test for heartbeats