mockDj.setName("DJ Teste");
mockDj.setEmail("test@test.com");
mockDj.setEmailConfirmation("123456");
for (Locale locale : Locale.getAvailableLocales()) {
JizzEmailResponse response = renderer.generateConfirmAddressEmail(
locale, mockStation, mockDj,
"http://test.jizz.com/jizz/confirm?key=123456");
if (logger.isTraceEnabled()) {
logger.trace("Response for locale " + locale + ": [Subject: "
+ response.getSubject() + "], [HTML: "
+ response.getHtml() + "], [Plain Text: "
+ response.getPlainText() + "]");
}
assertTrue("Has a subject", response.getSubject().length() > 0);
assertTrue("Has a HTML response", response.getHtml().length() > 0);
assertTrue("Has a Plain Text response", response.getPlainText()
.length() > 0);
}
}