public function testApiGetRequest_ReturnsRequest()
{
$obj = $this->createRequestRecordStorage();
$pid = 'pid';
$req = new RequestRecord($pid);
$this->callProtectedMethod($obj, 'addRequest', [$pid, $req]);
$result = $this->callProtectedMethod($obj, 'getRequest', [$pid]);
$this->assertSame($result, $req);
}