public function testExpandStarStar() { $paths = array($this->_testFiles . 'js' . DS . '**'); $scanner = new AssetScanner($paths); $result = $scanner->paths(); $expected = array($this->_testFiles . 'js' . DS, $this->_testFiles . 'js' . DS . 'classes' . DS, $this->_testFiles . 'js' . DS . 'secondary' . DS); $this->assertEquals($expected, $result); $result = $scanner->find('base_class.js'); $expected = $this->_testFiles . 'js' . DS . 'classes' . DS . 'base_class.js'; $this->assertEquals($expected, $result); $result = $scanner->find('another_class.js'); $expected = $this->_testFiles . 'js' . DS . 'secondary' . DS . 'another_class.js'; $this->assertEquals($expected, $result); }