public function testIsActive() { $isActive = 'value'; $this->scopeConfig->expects($this->once())->method('getFrontendStoreOrBackendValue')->with('tobai_geo_store_switcher/general/active')->willReturn($isActive); $this->assertEquals($isActive, $this->configGeneral->isActive()); }