/** * @test */ public function canCreateAssetInstanceFromStaticFileFactoryWithUrl() { $url = 'http://localhost'; $asset = Asset::createFromUrl($url); $this->assertInstanceOf('FluidTYPO3\\Vhs\\Asset', $asset); $this->assertEquals($url, $asset->getPath()); $this->assertSame(TRUE, $asset->getStandalone()); $this->assertSame(TRUE, $asset->getExternal()); }