public function testApiAddRequest_AddsRequest()
{
$obj = $this->createRequestRecordStorage();
$pid = 'pid';
$this->assertFalse($this->callProtectedMethod($obj, 'existsRequest', [$pid]));
$this->callProtectedMethod($obj, 'addRequest', [$pid, new RequestRecord($pid)]);
$this->assertTrue($this->callProtectedMethod($obj, 'existsRequest', [$pid]));
}