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