aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/NavtelecomProtocolDecoderTest.java
blob: 8b22c6e79a4b9e217b4f609f27e9767c61eaca33 (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 NavtelecomProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = new NavtelecomProtocolDecoder(null);

        verifyNull(decoder, binary(
                "404e5443010000000000000013004e452a3e533a383636373935303331343130363839"));

        verifyNull(decoder, binary(
                "404e544301000000000000001300f7fc2a3e464c4558b00a0a45fffe00000000000000"));

    }

}