Example #1
0
 /**
  * @param string    $expected
  * @param IEndpoint $endpoint
  */
 public function assertEndpointUrl($expected, IEndpoint $endpoint)
 {
     $this->assertEquals($expected, $endpoint->url());
 }
Example #2
0
 protected function getHandler(IEndpoint $endpoint)
 {
     $handler = new TestHandler($endpoint);
     $endpoint->attach($handler);
     return $handler;
 }