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