21 $this->_object = $this->createPartialMock(
22 \
Magento\TestFramework\Annotation\AdminConfigFixture::class,
23 [
'_getConfigValue',
'_setConfigValue']
32 $this->_object->expects(
39 $this->returnValue(
'some_value')
41 $this->_object->expects($this->at(1))->method(
'_setConfigValue')->with(
'any_config',
'some_value');
42 $this->_object->startTest($this);
44 $this->_object->expects($this->once())->method(
'_setConfigValue')->with(
'any_config',
'some_value');
45 $this->_object->endTest($this);
50 $this->_object->expects($this->never())->method(
'_getConfigValue');
51 $this->_object->expects($this->never())->method(
'_setConfigValue');
52 $this->_object->initStoreAfter();
60 $this->_object->startTest($this);
61 $this->_object->expects(
68 $this->returnValue(
'some_value')
70 $this->_object->expects($this->at(1))->method(
'_setConfigValue')->with(
'any_config',
'some_value');
71 $this->_object->initStoreAfter();
testInitStoreAfterOfScope()