aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
blob: 342d6204bad35794901b767df9b3c64a41d53db5 (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.traccar.helper.TestDataManager;
import static org.traccar.helper.DecoderVerifier.verify;
import org.junit.Test;

public class HaicomProtocolDecoderTest {

    @Test
    public void testDecode() throws Exception {

        HaicomProtocolDecoder decoder = new HaicomProtocolDecoder(new TestDataManager(), null, null);

        verify(decoder.decode(null, null,
                "$GPRS123456789012345,602S19A,100915,063515,7240649312041079,0019,3156,111000,10004,0000,11111,00LH#V037"));

    }

}