Пример #1
0
 /**
  * 2016-08-14
  * @param Setup $setup
  * @param IModuleContext|ModuleContext $context
  * @return void
  */
 protected final function process(Setup $setup, IModuleContext $context)
 {
     $setup->startSetup();
     $this->_context = $context;
     $this->_setup = $setup;
     $this->_process();
     $setup->endSetup();
 }
Пример #2
0
 public function testEndSetup()
 {
     $this->connection->expects($this->once())->method('endSetup');
     $this->object->endSetup();
 }