@@ -0,0 +1,1279 @@
+package com.snowplowanalytics.snowplow.tracker;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Map;%0A%0Apublic class TrackerPayloadTest extends TestCase %7B%0A%0A    @Test%0A    public void testAddString() throws Exception %7B%0A        Payload payload = new TrackerPayload();%0A        payload.add(%22foo%22, %22bar%22);%0A        System.out.println(payload.toString());%0A%0A        String res = %22%7B%5C%22foo%5C%22:%5C%22bar%5C%22%7D%22;%0A        assertEquals(payload.toString(), res);%0A    %7D%0A%0A    @Test%0A    public void testAddObject() throws Exception %7B%0A        Map foo = new LinkedHashMap%3CString, String%3E();%0A        ArrayList%3CString%3E bar = new ArrayList%3CString%3E();%0A        bar.add(%22somebar%22);%0A        bar.add(%22somebar2%22);%0A        foo.put(%22myKey%22, %22my Value%22);%0A        foo.put(%22mehh%22, bar);%0A        Payload payload = new TrackerPayload();%0A        payload.addMap(foo);%0A%0A        String res = %22%7B%5C%22myKey%5C%22:%5C%22my Value%5C%22,%5C%22mehh%5C%22:%5B%5C%22somebar%5C%22,%5C%22somebar2%5C%22%5D%7D%22;%0A        assertEquals(payload.toString(),res);%0A    %7D%0A%0A    @Test%0A    public void testAddMap() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testAddMap1() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testGetNode() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testGetMap() throws Exception %7B%0A%0A    %7D%0A%7D

Test that work