public function testInvalidSetMax() { $this->expectException(\InvalidArgumentException::class); $validator = new StringLengthBetween(12, 60); $validator->setMax(4); }