public function testLocation() { $location = 'Space'; $profileDetails = new ProfileDetails(); $profileDetails->setLocation($location); $this->assertEquals($location, $profileDetails->getLocation()); }