decoderStub = mockery.mock(ImapDecoder.class);
processorStub = mockery.mock(ImapProcessor.class);
encoderStub = mockery.mock(ImapEncoder.class);
sessionStub = mockery.mock(ImapSession.class);
// System under test
subject = new ImapRequestStreamHandler(decoderStub, processorStub, encoderStub);
}