expectException(Exception\InvariantViolationException::class); $this->expectExceptionMessage('Expected $min (20) to be less than or equal to $max (5).'); SecureRandom\int(20, 5); } }