>
+
+ == another
+
+ section
+ """.trimIndent(),
+ referenceProvider = AsciidocReferenceProvider(
+ Path("./test.adoc"),
+ ReferenceProvider.fromDocuments(
+ Path("."), emptyMap()
+ )
+ )
+ )
+
+ assertThat(result).isEqualToConfluenceFormat(
+ """
+ 1. testtest
+ As it was described in Section 2, “another”
+ 2. anotheranother
+ section
+ """.trimIndent(),
+ )
+
+ }
}