protected void onLinterException(final LinterException e, final Resource resource) {
cause.set(e);
};
}.setOptionsAsString("maxerr=1");
processor.process(new StringReader("alert(;"), new StringWriter());
Assert.assertNotNull(cause.get());
}
/**
* This test was created initially to prove that {@link JsHintProcessor} is thread-safe, but it doesn't work well when