expectException(InvariantViolationException::class); $this->expectExceptionMessage('$levels must be a positive integer, -3 given.'); Filesystem\get_directory('/home/azjezz/Projects/psl/src/Psl', -3); } }