Example #1
0
 /**
  * @test
  * @depends	createTaskNoArgs
  * @return	null
  */
 public function kernelExecuteShouldFail(StartupTask $task)
 {
     $msg = 'execute method must be extended';
     $this->setExpectedException('LogicException', $msg);
     $ns = 'Appfuel\\Kernel\\Mvc';
     $route = $this->getMock("{$ns}\\MvcRouteDetailInterface");
     $context = $this->getMock("{$ns}\\MvcContextInterface");
     $task->kernelExecute(array(), $route, $context);
 }
Example #2
0
 /**
  * @return	MyStartupTask
  */
 public function __construct()
 {
     parent::__construct(array('test-a' => null));
 }