@Test
public void testMap_Given_Username() {

	// Arrange
	final String username = "username";
	AdminProfileDto adminProfileDto = mock(AdminProfileDto.class);
	when(adminProfileDto.getUsername()).thenReturn(username);
	Staff administrator = mock(Staff.class);
	when(providerAdminRepository.findByUsername(username)).thenReturn(
			administrator);
	final String firstName = "Firstname";
	when(adminProfileDto.getFirstName()).thenReturn(firstName);
	// Act
	Staff result = sut.map(adminProfileDto);
	// Assert
	assertEquals(administrator, result);
}