public function testCall()
 {
     $endPoint = new Point\ControllerPoint(['controller' => 'DemoController', 'action' => 'action']);
     $callable = $endPoint->getCall(['user', 358]);
     $response = $endPoint->call($callable, $endPoint->getArguments());
     self::assertEquals('action', $response);
 }
 public function testCreate()
 {
     $endPoint = new Point\ControllerPoint(['controller' => 'DemoController', 'action' => 'action']);
     $callable = $endPoint->getCall();
     $this->assertCount(2, $callable);
     $this->assertInstanceOf('DemoController', $callable[0]);
     $this->assertEquals('action', $callable[1]);
     $this->assertCount(0, $endPoint->getArguments());
 }