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