@Test
public void test_General_Case() {

	final String username = "username";
	AdminProfileDto adminProfileDto = mock(AdminProfileDto.class);
	when(adminProfileDto.getUsername()).thenReturn(username);
	when(adminProfileDto.getEmail()).thenReturn("consent2share@gmail.com");
	Staff administrator = mock(Staff.class);
	when(providerAdminRepository.findByUsername(username)).thenReturn(
			administrator);
	final String firstName = "Firstname";
	when(adminProfileDto.getFirstName()).thenReturn(firstName);
	when(adminProfileDto.getAdministrativeGenderCode()).thenReturn("M");
	Staff result = sut.map(adminProfileDto);
	assertEquals(administrator, result);
}