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