@Test(expected = EmailAddressNotExistException.class)
public void testCreatePasswordResetToken_Throws_Exception_When_EmailAddress_Not_Exist()
		throws UsernameNotExistException, EmailAddressNotExistException,
		MessagingException {

	// Arrange
	final String resetPasswordLinkPlaceHolder = "http://comsent2share.com/resetPassword.html?token=%s";
	final String emailAddress = "emailAddress";
	final String anotherEmailAddress = "anotherEmailAddress";
	Patient patient = mock(Patient.class);
	when(patientRepository.findByUsername(anyString())).thenReturn(patient);
	when(patient.getEmail()).thenReturn(anotherEmailAddress);
	// Act
	sut.createPasswordResetToken("username", emailAddress,
			resetPasswordLinkPlaceHolder);
}