Neos\Flow\Tests\Unit\Validation\Validator\StringLengthValidatorTest::stringLengthValidatorThrowsAnExceptionIfMinLengthIsGreaterThanMaxLength PHP Method

stringLengthValidatorThrowsAnExceptionIfMinLengthIsGreaterThanMaxLength() public method

    public function stringLengthValidatorThrowsAnExceptionIfMinLengthIsGreaterThanMaxLength()
    {
        $this->validator = $this->getMockBuilder(StringLengthValidator::class)->disableOriginalConstructor()->setMethods(['addError'])->getMock();
        $this->validatorOptions(['minimum' => 101, 'maximum' => 100]);
        $this->validator->validate('1234567890');
    }