assertEquals(subject, messages[0].getSubject());
assertEquals(body, ((String) messages[0].getContent()).trim());
}
public void testRetreiveSimpleWithNonDefaultPassword() throws Exception {
servers = new Servers(ServerSetupTest.SMTP_IMAP);
assertNotNull(servers.getImap());
final String to = "test@localhost.com";
final String password = "donotharmanddontrecipricateharm";
servers.setUser(to, password);
servers.start();