AsciiDoctorScriptModel { public boolean hasErrors() { return !getErrors().isEmpty(); }  Collection<AsciiDoctorHeadline> getHeadlines(); Collection<AsciiDoctorFileReference> getIncludes(); Collection<AsciiDoctorFileReference> getImages(); Collection<AsciiDoctorFileReference> getDiagrams(); Collection<AsciiDoctorInlineAnchor> getInlineAnchors(); Collection<AsciiDoctorMarker> getErrors(); boolean hasErrors(); List<ParseToken> getDebugTokens(); boolean hasDebugTokens();  }
@Test public void has_errors_returns_false_when_no_error_is_added() { assertFalse(modelToTest.hasErrors()); }