void () { final FacetLibrariesValidator validator = createValidator(FAST_UTIL); assertError("fastutil.jar"); validator.setRequiredLibraries(LibraryInfo.EMPTY_ARRAY); assertNoErrors(); validator.setRequiredLibraries(new LibraryInfo[]{JUNIT}); assertError("junit.jar"); }