MiniAsset\FactoryTest::testAssetCreationWithAdditionalPath PHP Method

testAssetCreationWithAdditionalPath() public method

    public function testAssetCreationWithAdditionalPath()
    {
        $config = AssetConfig::buildFromIniFile($this->overrideFile);
        $factory = new Factory($config);
        $collection = $factory->assetCollection();
        $asset = $collection->get('libs.js');
        $files = $asset->files();
        $this->assertCount(3, $files);
        $this->assertEquals(APP . 'js/base.js', $files[0]->path());
        $this->assertEquals(APP . 'js/library_file.js', $files[1]->path());
        $this->assertEquals(APP . 'js/classes/base_class.js', $files[2]->path());
    }