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