/** * Get return value map for object manager * * @return array */ protected function getObjectManagerReturnValueMap() { $result = parent::getObjectManagerReturnValueMap(); $result[] = [\Magento\Framework\Indexer\ConfigInterface::class, $this->configMock]; return $result; }
protected function setUp() { parent::setUp(); $this->stateMock->expects($this->once())->method('setAreaCode')->with(FrontNameResolver::AREA_CODE); }