@Test
public void should_allow_using_object_properties_in_templates() throws GenerationException {

    TemplateEngine template = new TemplateEngine("template.html");
    Bar bar = new Bar();
    bar.setVariable("baz");
    assertThat(template.build(bar)).isEqualTo("<div>baz</div>");
}