@@ -0,0 +1,1041 @@
+package com.wizzardo.http.template.taglib;%0A%0Aimport com.wizzardo.http.template.*;%0Aimport com.wizzardo.http.template.taglib.g.Each;%0Aimport com.wizzardo.tools.xml.Node;%0Aimport org.junit.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.Collections;%0A%0A/**%0A * Created by wizzardo on 26.04.15.%0A */%0Apublic class EachTest %7B%0A%0A    @Before%0A    public void setup()%7B%0A        TagLib.findTags(Collections.singletonList(Each.class));%0A    %7D%0A%0A    @Test%0A    public void test_1() %7B%0A        Node n = Node.parse(%22%3Cdiv%3E%3Cg:each in=%5C%22%5B1,2,3%5D%5C%22 var=%5C%22i%5C%22%3E$i%3Cbr/%3E%3C/g:each%3E%3C/div%3E%22, true);%0A%0A        RenderableList l = new RenderableList();%0A        ViewRenderer.prepare(n.children(), l, %22%22, %22%22);%0A%0A        RenderResult result = l.get(new Model());%0A%0A        Assert.assertEquals(%22%3Cdiv%3E%5Cn%22 +%0A                %22        1%5Cn%22 +%0A                %22        %3Cbr/%3E%5Cn%22 +%0A                %22        2%5Cn%22 +%0A                %22        %3Cbr/%3E%5Cn%22 +%0A                %22        3%5Cn%22 +%0A                %22        %3Cbr/%3E%5Cn%22 +%0A                %22%3C/div%3E%5Cn%22, result.toString());%0A    %7D%0A%7D%0A

add test for Each tag