diff options
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/SanulProtocolDecoderTest.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SanulProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SanulProtocolDecoderTest.java new file mode 100644 index 000000000..be0ccc460 --- /dev/null +++ b/src/test/java/org/traccar/protocol/SanulProtocolDecoderTest.java @@ -0,0 +1,19 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class SanulProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + SanulProtocolDecoder decoder = new SanulProtocolDecoder(null); + + verifyNull(decoder, binary( + "aa007020000100000000000033353333353830313831353431313700000000000000000000")); + // aa00000f00010500000000000000000000000000 + + } + +} |