public function testInvalidMax() { $this->expectException(\InvalidArgumentException::class); $validator = new StringLengthBetween(0, -6); }