public function shouldRejectWithLengthExceptionWithEmptyInputArray()
{
$mock = $this->createCallableMock();
$mock->expects($this->once())->method('__invoke')->with($this->callback(function ($exception) {
return $exception instanceof LengthException && 'Input array must contain at least 1 item but contains only 0 items.' === $exception->getMessage();
}));
some([], 1)->then($this->expectCallableNever(), $mock);
}