public static ZMsg recvMsg(Socket socket)
    {
        return recvMsg(socket, 0);
    }
@Test
    public void testRecvMsg()
    {
        ZMQ.Context ctx = ZMQ.context(0);
        ZMQ.Socket socket = ctx.socket(SocketType.PULL);

        ZMsg.recvMsg(socket, ZMQ.NOBLOCK, (msg)-> assertThat(msg, nullValue()));

        socket.close();
        ctx.close();
    }