@Override
    public void flush() throws IOException {
        dataOut.flush();
    }
@Test
    public void testFlush() throws Exception {
        dataOutputStream.flush();
        verify(mockOutputStream).flush();
    }