public function testCanCheckIfIsUrl() { $this->assertTrue(Strings::isUrl('http://www.foo.com/')); $this->assertFalse(Strings::isUrl('foobar')); }