@Test
public void testSendEmail() throws MessagingException {

	ContactDto contactDto = mock(ContactDto.class);
	String msg = "I am interested to learn how to sign up for Consent 2 Share.";
	
	when(contactDto.getFirstName()).thenReturn("firstname");
	when(contactDto.getLastName()).thenReturn("laststname");
	when(contactDto.getEmail()).thenReturn("firstname@gmail.com");
	when(contactDto.getEmailConfirmation()).thenReturn("firstname@gmail.com");
	when(contactDto.getTelephoneNumber()).thenReturn("1111111111");
	when(contactDto.getMessageCode()).thenReturn("1");
	
	contactService.sendEmail(contactDto);
	
	verify(emailSender, times(1)).sendContactMessage(EmailType.REQUEST_MORE_INFORMATION,contactDto.getFirstName(),contactDto.getLastName(), contactDto.getEmail(),contactDto.getTelephoneNumber(),msg);
	verify(emailSender, times(1)).sendContactMessage(EmailType.CONFIRM_REQUEST_MORE_INFORMATION,"", "", contactDto.getEmail(), "", "");
}