@Test
public void testFindPatientProfileByUsername() {

	// Arrange
	final Staff admin = mock(Staff.class);
	when(administratorRepository.findByUsername(anyString())).thenReturn(
			admin);
	final AdminProfileDto expectedPAdminProfileDto = mock(AdminProfileDto.class);
	when(modelMapper.map(admin, AdminProfileDto.class)).thenReturn(
			expectedPAdminProfileDto);
	// Act
	AdminProfileDto result = sut.findAdminProfileByUsername(anyString());
	// Assert
	assertEquals(expectedPAdminProfileDto, result);
}