public function testInvalidDividentShouldThrowComponentException($dividend, $input)
{
$this->setExpectedException(ComponentException::class, 'Dividend ' . ValidationException::stringify($dividend) . ' must be an integer');
// It is enough to simply create a new Factor to trigger the dividend
// exceptions in __construct.
new Factor($dividend);
}