public function shouldResolvePromisesArray()
{
$mock = $this->createCallableMock();
$mock->expects($this->once())->method('__invoke')->with($this->identicalTo([1, 2, 3]));
all([resolve(1), resolve(2), resolve(3)])->then($mock);
}