@@ -0,0 +1,1449 @@
+package com.wizzardo.http.framework.template.taglib;%0A%0Aimport com.wizzardo.http.framework.template.*;%0Aimport com.wizzardo.http.framework.template.taglib.g.Collect;%0Aimport com.wizzardo.http.framework.template.taglib.g.Join;%0Aimport com.wizzardo.tools.xml.Node;%0Aimport org.junit.Assert;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.Arrays;%0Aimport java.util.Collections;%0A%0A/**%0A * Created by wizzardo on 26.04.15.%0A */%0Apublic class JoinTest %7B%0A%0A    @Before%0A    public void setup() %7B%0A        TagLib.findTags(Collections.singletonList(Join.class));%0A    %7D%0A%0A    public static class Book %7B%0A        public String title;%0A%0A        public Book(String title) %7B%0A            this.title = title;%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void test_1() %7B%0A        Node n = Node.parse(%22%3Cg:join in=%5C%22%5B'Grails', 'Groovy', 'Gradle'%5D%5C%22 delimiter=%5C%22_%5C%22/%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(%22Grails_Groovy_Gradle%22, result.toString());%0A    %7D%0A%0A    @Test%0A    public void test_2() %7B%0A        Node n = Node.parse(%22%3Cg:join in=%5C%22%5B'Grails', 'Groovy', 'Gradle'%5D%5C%22/%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(%22Grails, Groovy, Gradle%22, result.toString());%0A    %7D%0A%7D%0A

add test for Join tag