public function testCreateRelationWithParametersInRequest() { print "\n" . "Test: create relation X has narrower Y with parameter requests "; $this->AssertEquals(201, self::$responseX->getStatus(), "\n Cannot perform the test because something is wrong with creating a test concept X: " . self::$responseX->getHeader('X-Error-Msg')); $this->AssertEquals(201, self::$responseY->getStatus(), "\n Cannot perform the test because something is wrong with creating a test concept Y: " . self::$responseY->getHeader('X-Error-Msg')); $response = RequestResponse::CreateRelationViaParametersRequest(self::$client, self::$aboutX, "http://www.w3.org/2004/02/skos/core#narrower", self::$aboutY); $this->AssertEquals(200, $response->getStatus(), $response->getHeader('X-Error-Msg')); // todo: add assertions }