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

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

public class NdtpV6ProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = inject(new NdtpV6ProtocolDecoder(null));

        verifyAttributes(decoder, binary(
                "7e7e3b000200334202000000000000000064000100000000000600020002034f0c0200000400000000000033353135313330353131393430353532353030323632373237343836363500"));

    }

}