Replacement for the removed InvocationMocker::withConsecutive method.
composer require michaelpetri/phpunit-consecutive-arguments         $mock
            ->expects(self::exactly(\count(2)))
            ->method('someMethod')
            ->with(
                ...ConsecutiveArguments::of(
                    ['1.1', '1.2'],
                    ['2.1', '2.2'],
            );See Tests for more examples