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

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

public class NavisetFrameDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = inject(new NavisetFrameDecoder());

        verifyFrame(
                binary("1310e4073836383230343030353935383436362a060716"),
                decoder.decode(null, null, binary("1310e4073836383230343030353935383436362a060716")));

    }

}