aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Pt215ProtocolDecoderTest.java
blob: 59574aeee7c5c7c4e930846b9f8193e4da73c8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.traccar.protocol;

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

public class Pt215ProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        Pt215ProtocolDecoder decoder = new Pt215ProtocolDecoder(null);

        verifyNull(decoder, binary(
                "58580d010359339075435451010d0a"));

        verifyNull(decoder, binary(
                "585801080d0a"));

    }

}