@SuppressWarnings ( {
        "unused", "resource"
    } )
    @Test
    public void testWriteJournal () throws Exception {

        if ( this.socketAddress == null ) {
            return;
        }

        try ( AFUNIXSocket sock = connectToServer() ) {
            System.err.println("Client running");
            InputStream is = sock.getInputStream();
            AFUNIXOutputStream os = sock.getOutputStream();

            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            DataOutputStream dos = new DataOutputStream(bos);
            dos.write("PRIORITY=2\n".getBytes("UTF-8"));
            dos.write("MESSAGE=TEST\n".getBytes("UTF-8"));
            // os.sendmsg(bos.toByteArray(), true);
            System.err.println("Wrote from client");
        }
        catch ( Exception e ) {
            e.printStackTrace();
        }

    }