assertEquals("\n\\index{name}\n", result);
}
@Test
public void shouldEscapeUnderscores() throws Exception {
IndexChunk chunk = new IndexChunk("index_name_underscore");
String result = getContent(chunk);
assertEquals("\n\\index{index\\_name\\_underscore}\n", result);
}