public function testYahoo() { $value = 'Name'; $profileDetails = new ProfileDetails(); $profileDetails->setYahoo($value); $this->assertEquals($value, $profileDetails->getYahoo()); }