Ejemplo n.º 1
0
 protected function _getForm()
 {
     $packageManager = $this->getMockBuilder('Model\\Package\\PackageManager')->disableOriginalConstructor()->getMock();
     $form = new \Console\Form\Package\Update();
     $form->setOption('packageManager', $packageManager);
     $form->init();
     return $form;
 }
Ejemplo n.º 2
0
 protected function _getForm()
 {
     $packageManager = $this->createMock('Model\\Package\\PackageManager');
     $form = new \Console\Form\Package\Update();
     $form->setOption('packageManager', $packageManager);
     $form->init();
     return $form;
 }