Example #1
0
 public function testClearGetParams()
 {
     $this->markTestSkipped("Check if is router test");
     $uri = '/?hello=world';
     $this->object->explode($uri);
     $this->assertEquals("Index", $this->object->getControllerName());
     $this->assertEquals("index", $this->object->getActionName());
 }
Example #2
0
 /**
  */
 public function testGetActionName()
 {
     $this->assertEquals('TestAction', $this->object->getActionName());
 }