    @Test
    public void instrumentDirectoryRequest() throws Exception {

        client.requestInstrumentDirectory();

        while (serverEvents.collect().size() != 1)
            server.receive();

        assertEquals(asList(new InstrumentDirectoryRequest()), serverEvents.collect());
    }