@@ -0,0 +1,1946 @@
+package com.wizzardo.tools.json;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport java.util.Date;%0A%0Aimport static com.wizzardo.tools.json.StringConverter.*;%0A%0A/**%0A * Created by wizzardo on 07.03.15.%0A */%0Apublic class StringConverterTest %7B%0A%0A    @Test%0A    public void test_get_converter() %7B%0A        Assert.assertEquals(TO_BOOLEAN, getConverter(Boolean.class));%0A        Assert.assertEquals(TO_INTEGER, getConverter(Integer.class));%0A        Assert.assertEquals(TO_LONG, getConverter(Long.class));%0A        Assert.assertEquals(TO_BYTE, getConverter(Byte.class));%0A        Assert.assertEquals(TO_SHORT, getConverter(Short.class));%0A        Assert.assertEquals(TO_FLOAT, getConverter(Float.class));%0A        Assert.assertEquals(TO_DOUBLE, getConverter(Double.class));%0A        Assert.assertEquals(TO_DATE, getConverter(Date.class));%0A%0A        Assert.assertEquals(TO_STRING, getConverter(String.class));%0A        Assert.assertEquals(TO_STRING, getConverter(Object.class));%0A    %7D%0A%0A    @Test%0A    public void test_convert() %7B%0A        Assert.assertEquals(Boolean.TRUE, getConverter(Boolean.class).convert(%22true%22));%0A        Assert.assertEquals(Integer.valueOf(1), getConverter(Integer.class).convert(%221%22));%0A        Assert.assertEquals(Long.valueOf(1l), getConverter(Long.class).convert(%221%22));%0A        Assert.assertEquals(Byte.valueOf((byte) 1), getConverter(Byte.class).convert(%221%22));%0A        Assert.assertEquals(Short.valueOf((short) 1), getConverter(Short.class).convert(%221%22));%0A        Assert.assertEquals(Float.valueOf(1.0f), getConverter(Float.class).convert(%221.0%22));%0A        Assert.assertEquals(Double.valueOf(1.0), getConverter(Double.class).convert(%221.0%22));%0A        Assert.assertEquals(new Date(1175783410123l), getConverter(Date.class).convert(%222007-04-05T14:30:10.123Z%22));%0A%0A        Assert.assertEquals(%22foobar%22, getConverter(String.class).convert(%22foobar%22));%0A        Assert.assertEquals(%22foobar%22, getConverter(Object.class).convert(%22foobar%22));%0A    %7D%0A%7D%0A

add simple tests for StringConverter