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

import org.junit.Test;

import static org.junit.Assert.assertNull;
import static org.traccar.helper.DecoderVerifier.verify;

public class GpsmtaProtocolDecoderTest extends ProtocolDecoderTest {

    @Test
    public void testDecode() throws Exception {

        GpsmtaProtocolDecoder decoder = new GpsmtaProtocolDecoder(new GpsmtaProtocol());

        verify(decoder.decode(null, null,
                "359144048138856 1442932957 49.85064 24.003979 1 0 40 0 10 110 26 0 0"));

    }

}