Example #1
0
 public function testAddRouteWithName()
 {
     $this->altoRouter->expects($this->once())->method('map')->with('testMethod', '/testRoute', 'testTarget', 'testRouteName');
     $this->object->addRoute('testMethod', '/testRoute', 'testTarget', 'testRouteName');
 }