/** * @covers \Magento\Framework\View\Asset\File\FallbackContext::getConfigPath * @param string $baseUrl * @param string $areaType * @param string $themePath * @param string $localeCode * @param bool $isSecure * @param string $expectedResult * @dataProvider getConfigPathDataProvider */ public function testGetConfigPath($baseUrl, $areaType, $themePath, $localeCode, $isSecure, $expectedResult) { $this->fallbackContext = $this->objectManager->getObject('Magento\\Framework\\View\\Asset\\File\\FallbackContext', ['baseUrl' => $baseUrl, 'areaType' => $areaType, 'themePath' => $themePath, 'localeCode' => $localeCode, 'isSecure' => $isSecure]); $this->assertEquals($expectedResult, $this->fallbackContext->getConfigPath()); }