@@ -0,0 +1,1592 @@
+package net.kencochrane.raven.marshaller;%0A%0Aimport mockit.Injectable;%0Aimport mockit.Tested;%0Aimport mockit.Verifications;%0Aimport org.testng.annotations.Test;%0A%0Aimport java.io.OutputStream;%0A%0Apublic class UncloseableOutputStreamTest %7B%0A    @Tested%0A    private Marshaller.UncloseableOutputStream uncloseableOutputStream = null;%0A    @Injectable%0A    private OutputStream mockOutputStream = null;%0A%0A    @Test%0A    public void testWriteSingleByte() throws Exception %7B%0A        final int i = 12;%0A%0A        uncloseableOutputStream.write(i);%0A%0A        new Verifications() %7B%7B%0A            mockOutputStream.write(i);%0A        %7D%7D;%0A    %7D%0A%0A    @Test%0A    public void testWriteByteArray() throws Exception %7B%0A        final byte%5B%5D array = new byte%5B0%5D;%0A%0A        uncloseableOutputStream.write(array);%0A%0A        new Verifications() %7B%7B%0A            mockOutputStream.write(array);%0A        %7D%7D;%0A    %7D%0A%0A    @Test%0A    public void testWritePartOfByteArray() throws Exception %7B%0A        final byte%5B%5D array = new byte%5B0%5D;%0A        final int off = 93;%0A        final int len = 42;%0A%0A        uncloseableOutputStream.write(array, off, len);%0A%0A        new Verifications() %7B%7B%0A            mockOutputStream.write(array, off, len);%0A        %7D%7D;%0A    %7D%0A%0A    @Test%0A    public void testFlush() throws Exception %7B%0A        uncloseableOutputStream.flush();%0A%0A        new Verifications() %7B%7B%0A            mockOutputStream.flush();%0A        %7D%7D;%0A%0A    %7D%0A%0A    @Test%0A    public void testClose() throws Exception %7B%0A        uncloseableOutputStream.close();%0A%0A        new Verifications() %7B%7B%0A            mockOutputStream.close();%0A            times = 0;%0A        %7D%7D;%0A    %7D%0A%7D

Add test coverage for the UncloseableOutputStream