/**
  * @test
  * @group metadata
  * @group common
  */
 public function the_response_location_can_be_retrieved()
 {
     $responseLocation = 'some:response:location';
     $withResponseLocation = new Endpoint(Binding::httpPost(), 'some:uri', $responseLocation);
     $noResponseLocation = new Endpoint(Binding::httpPost(), 'some:uri');
     $nullReponseLocation = new Endpoint(Binding::httpPost(), 'some:uri', null);
     $this->assertEquals($responseLocation, $withResponseLocation->getResponseLocation());
     $this->assertNull($noResponseLocation->getResponseLocation());
     $this->assertNull($nullReponseLocation->getResponseLocation());
 }
 /**
  * @return null|string
  */
 public function getResponseLocation()
 {
     return $this->endpoint->getResponseLocation();
 }