aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/NavisetFrameDecoderTest.java
blob: d15d01cc0f1f04966c2b72a00e30834add264947 (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.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")));

    }

}