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