public function testInvalidMin() { $this->expectException(\InvalidArgumentException::class); $validator = new StringLengthBetween(-1, 5); }