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