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