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