@@ -111,6 +111,7 @@ discard block |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
114 | + * @param string $method |
|
114 | 115 | * @return HttpRequest |
115 | 116 | */ |
116 | 117 | public function createHttpRequest($method, $uri, $contentType = '', $acceptType = '') |
@@ -172,6 +173,9 @@ discard block |
||
172 | 173 | return $errorMessageString; |
173 | 174 | } |
174 | 175 | |
176 | + /** |
|
177 | + * @param string $header |
|
178 | + */ |
|
175 | 179 | protected function assertHttpResponseHasHeader(HttpResponse $response, $header, $expectedValue = null) |
176 | 180 | { |
177 | 181 | $headerValue = $response->getHeader($header); |
@@ -181,6 +185,9 @@ discard block |
||
181 | 185 | } |
182 | 186 | } |
183 | 187 | |
188 | + /** |
|
189 | + * @param string $typeString |
|
190 | + */ |
|
184 | 191 | protected function generateMediaTypeString($typeString) |
185 | 192 | { |
186 | 193 | return "application/vnd.ez.api.$typeString"; |