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

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

import java.nio.ByteOrder;


public class ProgressProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        ProgressProtocolDecoder decoder = new ProgressProtocolDecoder(new ProgressProtocol());

        verifyNull(decoder, binary(ByteOrder.LITTLE_ENDIAN,
                "020037000100000003003131310f003335343836383035313339303036320f00323530303136333832383531353535010000000100000000000000e6bb97b6"));

    }

}