    @Test
    public void testLowercaseFunction() {

        String varName = "testVar";
        String varValue = "testVarValue";

        String template = String.format("{{#lowercase}}{{%s}}{{/lowercase}}", varName);
        String result = templateInjector.injectToTemplate(template, singletonMap(varName, varValue));
        assertThat(result).isEqualTo(varValue.toLowerCase());
    }