public function testGetStoreValue() { $path = 'test-path'; $value = 'value'; $this->appScopeConfig->expects($this->once())->method('getValue')->with($path, ScopeInterface::SCOPE_STORE, $this->storeId)->willReturn($value); $this->assertEquals($value, $this->scopeConfig->getStoreValue($path)); }
/** * @return string */ public function getWhiteUa() { return $this->scopeConfig->getStoreValue('tobai_geo_store_switcher/general/white_ua'); }