Beispiel #1
0
 public function testIsExternalSource()
 {
     $assets = new Assets();
     $this->assertTrue($assets->isExternalSource('//example.com/foo.js'));
     $this->assertFalse($assets->isExternalSource('/foo.js'));
 }