@Test
public void createViewModel_repeat() {
XhtmlTemplate template = new XhtmlTemplate("test");
StartTagNode start = new StartTagNode("span", "prk:repeat", "count");
EndTagNode end = new EndTagNode("span");
template.stack(new RepeatNode(start, end, new Node[] {}));
Map<String, Object> expected = new HashMap<String, Object>();
expected.put("count", XhtmlTemplate.NULL_VALUE);
Assert.assertEquals(expected, template.createViewModel());
}