DotsUnited\BundleFu\Tests\BundleTest::testAddJsFileShouldAcceptAbsolutePath PHP 메소드

testAddJsFileShouldAcceptAbsolutePath() 공개 메소드

    public function testAddJsFileShouldAcceptAbsolutePath()
    {
        $docRoot = $this->bundle->getDocRoot();
        $this->bundle->setDocRoot(null);
        $this->bundle->addJsFile($docRoot . '/js/js_1.js');
        $this->assertEquals($docRoot . '/js/js_1.js', $this->bundle->getJsFileList()->current()->getPathname());
    }