setBaseUrl('http://test.com/'); $this->assertEquals('http://test.com', $profile->getBaseUrl()); $profile->setBaseUrl('http://test.com'); $this->assertEquals('http://test.com', $profile->getBaseUrl()); $profile->setBaseUrl('https://test.com/'); $this->assertEquals('https://test.com', $profile->getBaseUrl()); $profile->setBaseUrl('https://test.com'); $this->assertEquals('https://test.com', $profile->getBaseUrl()); } } ?>