@Test
public void testEmptyRender() throws Exception {

    final TNodeRepeatMap repeat = new TNodeRepeatMap(info, TextContentParserTest.createTestTextContentParser(), false, null, TNode.EMPTY_ATTRIBUTES, "map", "key", "value");
    Map<String, Object> model = Collections.<String, Object>singletonMap("map", Collections.emptyMap());
    final ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    repeat.render(new TRenderContext(outputStream, model));
    assertEquals("<!-- fmt-repeat: (key, value) in map is empty -->", outputStream.toString());
}