public function testDefaultBaseAndPath() { $asset = new FileAsset(__FILE__); $this->assertEquals(__DIR__, $asset->getSourceRoot(), '->__construct() defaults base to the asset directory'); $this->assertEquals(basename(__FILE__), $asset->getSourcePath(), '->__construct() defaults path to the asset basename'); $this->assertEquals(__DIR__, $asset->getSourceDirectory(), '->__construct() derives the asset directory'); }