@@ -0,0 +1,1830 @@
+/*%0A * Created by brightSPARK Labs%0A * www.brightsparklabs.com%0A */%0Apackage com.brightsparklabs.asanti.model.schema;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.sql.Timestamp;%0A%0Aimport org.junit.Test;%0A%0A/**%0A * Unit test for %7B@link DecodeResult%7D%0A *%0A * @author brightSPARK Labs%0A */%0Apublic class DecodeResultTest%0A%7B%0A    // -------------------------------------------------------------------------%0A    // TESTS%0A    // -------------------------------------------------------------------------%0A%0A    @Test%0A    public void testWasSuccessful() throws Exception%0A    %7B%0A        DecodeResult%3CString%3E instance = DecodeResult.create(true, %22TEST%22);%0A        assertEquals(true, instance.wasSuccessful());%0A        instance = DecodeResult.create(false, %22TEST%22);%0A        assertEquals(false, instance.wasSuccessful());%0A    %7D%0A%0A    @Test%0A    public void testGetDecodedData() throws Exception%0A    %7B%0A        DecodeResult%3CString%3E instanceString = DecodeResult.create(true, %22TEST%22);%0A        assertEquals(%22TEST%22, instanceString.getDecodedData());%0A        instanceString = DecodeResult.create(false, %22TEST%22);%0A        assertEquals(%22TEST%22, instanceString.getDecodedData());%0A%0A        DecodeResult%3CInteger%3E instanceInteger = DecodeResult.create(true, Integer.MIN_VALUE);%0A        assertEquals((Integer) Integer.MIN_VALUE, instanceInteger.getDecodedData());%0A        instanceInteger = DecodeResult.create(true, Integer.MAX_VALUE);%0A        assertEquals((Integer) Integer.MAX_VALUE, instanceInteger.getDecodedData());%0A        instanceInteger = DecodeResult.create(true, 0);%0A        assertEquals((Integer) 0, instanceInteger.getDecodedData());%0A%0A        final Timestamp expected = new Timestamp(1000);%0A        final DecodeResult%3CTimestamp%3E instanceTimestamp = DecodeResult.create(true, expected);%0A        assertEquals(expected, instanceTimestamp.getDecodedData());%0A    %7D%0A%7D%0A

Add unit tests for DecodeResult