@Test
public void testCreateEmailToken() throws UsernameNotExistException,
		EmailAddressNotExistException, MessagingException {

	Patient patient = mock(Patient.class);
	when(patientRepository.findByUsername(anyString())).thenReturn(patient);
	when(patient.getEmail()).thenReturn("emailAddress");
	sut.createEmailToken("username", "emailAddress");
}