Respect\Validation\Rules\FactorTest::testInvalidFactorShouldThrowFactorException PHP Method

testInvalidFactorShouldThrowFactorException() public method

public testInvalidFactorShouldThrowFactorException ( $dividend, $input )
    public function testInvalidFactorShouldThrowFactorException($dividend, $input)
    {
        $this->setExpectedException(FactorException::class, ValidationException::stringify($input) . ' must be a factor of ' . $dividend);
        $min = new Factor($dividend);
        $this->assertFalse($min->__invoke($input));
        $this->assertFalse($min->assert($input));
    }