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

    @Test
    public void testDecode() throws Exception {

        NetProtocolDecoder decoder = new NetProtocolDecoder(null);

        verifyPosition(decoder, text(
                "@L0368609060401776171223102005072803703296103721462100008009000000300B12B000"));

    }

}