assertEquals('lemonde.fr', $extension->removeWww('www.lemonde.fr')); $this->assertEquals('lemonde.fr', $extension->removeWww('lemonde.fr')); $this->assertEquals('gist.github.com', $extension->removeWww('gist.github.com')); } }