public function testApiAddResponse_AddsResponse()
{
$obj = $this->createResponseRecordStorage();
$pid = 'pid';
$alias = 'alias';
$this->assertFalse($this->callProtectedMethod($obj, 'existsResponse', [$pid]));
$this->callProtectedMethod($obj, 'addResponse', [$pid, new ResponseRecord($pid, $alias)]);
$this->assertTrue($this->callProtectedMethod($obj, 'existsResponse', [$pid]));
}