public function providerForInvalidFactor()
{
$tests = [[3, 2], [4, 3], [5, 2], [5, 3], [5, 4], [1, 0], [2, 0]];
$tests = $this->generateNegativeCombinations($tests);
$tests = $this->generateStringAndFloatCombinations($tests);
// Valid (but random) dividends, invalid inputs.
$extra_tests = array_map(function ($test) {
return [mt_rand(), $test];
}, $this->thingsThatAreNotIntegers());
$tests = array_merge($tests, $extra_tests);
return $tests;
}