/** * Clear state file */ protected function tearDown() { $this->filesystem->expects($this->any())->method('getDirectoryWrite')->willReturn($this->writeInterface); $this->writeInterface->expects($this->any())->method('openFile')->willReturnSelf($this->absolutePath); $this->state->clearState(); }
/** * @inheritdoc */ public function install(Setup\ModuleDataSetupInterface $setup, Setup\ModuleContextInterface $moduleContext) { $this->state->clearState(); }