AssetManagerTest\Service\PathStackResolverTest::testCollect PHP Method

testCollect() public method

Test Collect returns valid list of assets
public testCollect ( )
    public function testCollect()
    {
        $resolver = new PathStackResolver();
        $resolver->addPath(__DIR__);
        $this->assertContains(basename(__FILE__), $resolver->collect());
        $this->assertNotContains('i-do-not-exist.php', $resolver->collect());
    }