final DiscoWorkerListener listener = mock(DiscoWorkerListener.class);
final InOrder inOrder = inOrder(listener);
final Pipe pipeFromDisco = Pipe.open();
final DiscoIOChannel ioChannel = new DiscoIOChannel(pipeFromDisco.source(), new NullByteChannel(),
new DiscoWorkerDecoder().setListener(listener));
final String okStr = "OK 4 \"ok\"\n";
pipeFromDisco.sink().write(ByteBuffer.wrap(okStr.getBytes()));
ioChannel.write(new WorkerAnnounceEncoder().set("1.0", 555));