expectations.allowing(mailboxManagerStub).getMailbox(expectations.with(Expectations.any(MailboxPath.class)), expectations.with(Expectations.any(MailboxSession.class)));
expectations.will(Expectations.throwException(new MailboxNotFoundException(MAILBOX_NAME)));
mockery.checking(expectations);
final Responder responderMock = mockery.mock(Responder.class);
mockery.checking(new Expectations() {
{
oneOf(responderMock).respond(with(new StatusResponseTypeMatcher(StatusResponse.Type.NO)));
}
});