/** * @test * @group metadata * @group common */ public function response_location_can_be_retrieved() { $responseLocation = 'some:response:location'; $indexedEndpoint = new IndexedEndpoint(new Endpoint(Binding::soap(), 'some:uri', $responseLocation), 1, false); $noResponseLocation = new IndexedEndpoint(new Endpoint(Binding::soap(), 'some:uri'), 1, false); $nullResponseLocation = new IndexedEndpoint(new Endpoint(Binding::soap(), 'some:uri', null), 1, false); $this->assertEquals($responseLocation, $indexedEndpoint->getResponseLocation()); $this->assertNull($noResponseLocation->getResponseLocation()); $this->assertNull($nullResponseLocation->getResponseLocation()); }