/** * @param OAuth2User $u * * @dataProvider dataProvider */ public function testSetGetProfileUrl($u) { $url = 'http://www.webiny.com/profile/webiny'; $u->setProfileUrl($url); $this->assertSame($url, $u->getProfileUrl()); $this->assertSame($url, $u->profileUrl); }