public static Context context(int ioThreads)
    {
        return new Context(ioThreads);
    }
@Test(expected = ZMQException.class)
    public void testBindInprocSameAddress()
    {
        ZMQ.Context context = ZMQ.context(1);

        ZMQ.Socket socket1 = context.socket(SocketType.REQ);
        ZMQ.Socket socket2 = context.socket(SocketType.REQ);
        socket1.bind("inproc://address.already.in.use");

        socket2.bind("inproc://address.already.in.use");
        assertThat(socket2.errno(), is(ZError.EADDRINUSE));

        socket1.close();
        socket2.close();

        context.term();
    }