@@ -0,0 +1,1062 @@
+package net.kencochrane.raven.connection;%0A%0Aimport net.kencochrane.raven.event.Event;%0Aimport net.kencochrane.raven.event.EventBuilder;%0Aimport net.kencochrane.raven.marshaller.Marshaller;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mock;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport java.io.OutputStream;%0A%0Aimport static org.mockito.Matchers.any;%0Aimport static org.mockito.Matchers.eq;%0Aimport static org.mockito.Mockito.verify;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class UdpConnectionTest %7B%0A    private UdpConnection udpConnection;%0A    @Mock%0A    private Marshaller mockMarshaller;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        udpConnection = new UdpConnection(%22%22, %22%22, %22%22);%0A        udpConnection.setMarshaller(mockMarshaller);%0A    %7D%0A%0A    @Test%0A    public void testContentMarshalled() throws Exception %7B%0A        Event event = new EventBuilder().build();%0A%0A        udpConnection.send(event);%0A%0A        verify(mockMarshaller).marshall(eq(event), any(OutputStream.class));%0A    %7D%0A%7D%0A

Add tests for UdpConnection