aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/NdtpV6ProtocolDecoderTest.java
blob: 67e88cb5a1f9060131bfba07f037880682fab1d2 (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.jupiter.api.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"));

    }

}