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