// then - should have sent correct email
TimeUnit.SECONDS.sleep(2);
assertThat(wiser.getMessages(), is(not(empty())));
WiserMessage registrationWiserMessage = wiser.getMessages().get(0);
MimeMessage mimeMessage = registrationWiserMessage.getMimeMessage();
NewRegistrationEmail registrationEmail = new NewRegistrationEmail(mimeMessage.getContent().toString());
String updatePasswordURL = registrationEmail.shouldHaveCorrectFields("fake@email.com");
// when - updating password
HttpResponse updatePasswordPageResponse = httpClient.execute(new HttpGet(updatePasswordURL));
UpdatePasswordPage updatePasswordPage = new UpdatePasswordPage(getBodyAndClose(updatePasswordPageResponse));
updatePasswordPage.shouldHaveCorrectFields();