assertThat(formatted, is("a quick <strong>brown</strong> fox<br>jumped over a log"));
}
@Test
public void formatter_should_render_asciidoc_if_configured() {
EnvironmentVariables environmentVariables = new MockEnvironmentVariables();
environmentVariables.setProperty("narrative.format","asciidoc");
Formatter formatter = new Formatter(issueTracking, environmentVariables);
String formatted = formatter.renderDescription("a quick *brown* fox\njumped over a log");
assertThat(formatted, is("a quick <strong>brown</strong> fox<br>jumped over a log"));
}