public function testGetWebsiteValue() { $path = 'test-path'; $value = 'value'; $this->appScopeConfig->expects($this->once())->method('getValue')->with($path, ScopeInterface::SCOPE_WEBSITE, $this->websiteId)->willReturn($value); $this->assertEquals($value, $this->scopeConfig->getWebsiteValue($path)); }
/** * @param int $group * @return string */ public function getGroupStore($group) { return $this->scopeConfig->getWebsiteValue("tobai_geo_store_switcher/group_{$group}/store"); }