package org.traccar.protocol;

import static org.junit.Assert.assertNotNull;
import org.junit.Test;

public class Tk103ProtocolDecoderTest {

    @Test
    public void testDecode() throws Exception {
        
        Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new TestDataManager(), 0);
        
        assertNotNull(decoder.decode(null, null,
                "(035988863964BP05000035988863964110524A4241.7977N02318.7561E000.0123536356.5100000000L000946BB"));

    }

}

@@ -193,24 +193,16 @@
 ption %7B%0A
-        
 %0A       
@@ -285,24 +285,16 @@
 (), 0);%0A
-        
 %0A       
@@ -448,21 +448,187 @@
 0946BB%22));%0A%0A
+        assertNotNull(decoder.decode(null, null,%0A                %22(013632782450BP05000013632782450120803V0000.0000N00000.0000E000.0174654000.0000000000L00000000%22));%0A%0A
     %7D%0A%0A%7D%0A

Add example message