/** * @return string */ public function getLocation() { return $this->endpoint->getLocation(); }
/** * @test * @group metadata * @group common */ public function the_location_can_be_retrieved() { $location = 'some:uri'; $endpoint = new Endpoint(Binding::httpArtifact(), $location); $this->assertEquals($location, $endpoint->getLocation()); }