@Test
public void calculatePathToFileFromBase() {

   /* prepare */
   File file = new File("./");
   File asciiDocFile = new File(file,"basefolder/sub1/sub2/sub3/test.adoc");
   File baseDir = new File(file,"basefolder");
   
   /* execute */
   String path = AsciiDocFileUtils.calculatePathToFileFromBase(asciiDocFile, baseDir);

   /* test */
   assertEquals("sub1/sub2/sub3/test.adoc",path);
}