/** * @test */ public function testGetFiles() { $this->markup->setBundlerDirectory('./.bundler'); $this->markup->setHost('/'); $this->markup->setDevelopment(false); $this->markup->setMinified(true); $this->markup->setVersionized(true); $result = $this->markup->getFiles('javascriptFoo'); $expected = ['/site/www/builds/javascriptFoo.min.js?v=' . $this->configCache['javascriptFoo']['md5']]; $this->assertEquals($expected, $result); }