public function testStripStartingSlash2() { $s = new StringObject("//http://www.webiny.com//"); $s->stripStartingSlash()->stripTrailingSlash(); $this->assertSame("http://www.webiny.com", $s->val()); }
public function testStripStartingSlash2() { $s = new StringObject("//http://www.webiny.com//"); $s->stripStartingSlash()->stripTrailingSlash(); $this->assertSame("http://www.webiny.com", $s->val()); }