public function testRedirectLocationByRemoteId($locationHref)
{
$response = $this->sendHttpRequest($this->createHttpRequest('GET', '/api/ezp/v2/content/locations?remoteId=' . $this->addTestSuffix('testCreateLocation')));
self::assertHttpResponseCodeEquals($response, 307);
self::assertHttpResponseHasHeader($response, 'Location', $locationHref);
}