public function testPathGuessing() { $asset = new FileAsset(__FILE__, array(), __DIR__); $this->assertEquals(basename(__FILE__), $asset->getSourcePath(), '->__construct() guesses the asset path'); $this->assertEquals(__DIR__, $asset->getSourceDirectory(), '->__construct() derives the asset directory'); }