package org.traccar.protocol;


import org.junit.Test;
import org.traccar.ProtocolTest;

public class JpKorjarProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        JpKorjarProtocolDecoder decoder = new JpKorjarProtocolDecoder(new JpKorjarProtocol());

        verifyPosition(decoder, text(
                "KORJAR.PL,329587014519383,160910144240,52.247254N,021.013375E,0.00,1,F:4.18V,1 260 01 794B 3517,"));

    }

}

@@ -455,21 +455,340 @@
  3517,%22));%0A%0A
+        verifyPosition(decoder, text(%0A                %22KORJAR.PL,329587014519383,160910144240,52.895515N,021.949151E,6.30,212,F:3.94V,0 260 01 794B 3519,%22));%0A%0A        verifyPosition(decoder, text(%0A                %22KORJAR.PL,329587014519383,160910144240,52.895596N,021.949343E,12.46,087,L:2.18V,1 260 01 794B 3517,%22));%0A%0A
     %7D%0A%0A%7D%0A

Add jpkorjar tests showcasing changing attributes