public function testApiAny_RejectsPromise_WithRejectedInputValues()
{
$test = $this->getTest();
$mock = $test->createCallableMock();
$mock->expects($test->once())->method('__invoke')->with($test->identicalTo([0 => 1, 1 => 2, 2 => 3]));
Promise::any([Promise::doReject(1), Promise::doReject(2), Promise::doReject(3)])->then($test->expectCallableNever(), $mock);
}