}
@Test
public void should_find_elements_from_document() {
Document document = asciidoctor.load(DOCUMENT, new HashMap<String, Object>());
Map<Object, Object> selector = new HashMap<Object, Object>();
selector.put("context", ":image");
List<AbstractBlock> findBy = document.findBy(selector);
assertThat(findBy, hasSize(2));
assertThat((String)findBy.get(0).attributes().get("target"), is("tiger.png"));
}