public function testApiUnfinishedResponses_ReturnsResponsesWhichTimeoutIsLessThanTimeNow()
{
$obj = $this->createResponseRecordStorage();
$now = TimeSupport::now();
$rep1 = new ResponseRecord($pid1 = 'pid1', $alias1 = 'alias1', $now + 1000000.0);
$rep2 = new ResponseRecord($pid2 = 'pid2', $alias2 = 'alias2', $now);
$this->callProtectedMethod($obj, 'addResponse', [$pid1, $rep1]);
$this->callProtectedMethod($obj, 'addResponse', [$pid2, $rep2]);
$this->assertSame([$rep2], $this->callProtectedMethod($obj, 'unfinishedResponses'));
}