attributes.put("waiting", "0");
response = responseBuilder.buildResponse(MailboxStatusResponse.class, attributes);
assertEquals("Response of wrong type", MailboxStatusResponse.class, response.getClass());
MailboxStatusResponse mailboxStatusResponse = (MailboxStatusResponse) response;
assertEquals("Mailbox not set correctly", "123,user2", mailboxStatusResponse.getMailbox());
assertEquals("Waiting not set correctly", Boolean.FALSE, mailboxStatusResponse.getWaiting());
}