@Test
public void valid_include() {

    /* prepare */
    File editorFile = TestResourcesLoader.assertTestFile("codeassist/include/test1/editorfile1.adoc");
    Collection<AsciiDoctorMarker> errors = new ArrayList<>();
    
    /* execute */
    validatorToTest.validate(editorFile, Collections.singleton(new AsciiDoctorFileReference("include::otherfile1.adoc[]", 1, 20, 20)),errors);
    
    /* test */
    assertTrue(errors.isEmpty());
}