예제 #1
0
 public function testDefaultRequest()
 {
     $this->object->setDefaultAction('TestContextAwareClosure');
     $this->assertEquals('TestContextAwareClosure', $this->object->getDefaultAction());
     $resp = $this->object->run();
     $this->assertInstanceOf('Fwk\\Core\\Context', $resp);
 }