aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MtxProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/MtxProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/MtxProtocolDecoderTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/MtxProtocolDecoderTest.java b/test/org/traccar/protocol/MtxProtocolDecoderTest.java
index bc597af4d..0cd0400c2 100644
--- a/test/org/traccar/protocol/MtxProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MtxProtocolDecoderTest.java
@@ -1,8 +1,7 @@
package org.traccar.protocol;
-import static org.traccar.helper.DecoderVerifier.verify;
-
import org.junit.Test;
+import org.traccar.ProtocolDecoderTest;
public class MtxProtocolDecoderTest extends ProtocolDecoderTest {
@@ -11,7 +10,7 @@ public class MtxProtocolDecoderTest extends ProtocolDecoderTest {
MtxProtocolDecoder decoder = new MtxProtocolDecoder(new MtxProtocol());
- verify(decoder.decode(null, null,
+ verifyPosition(decoder, text(
"#MTX,353815011138124,20101226,195550,41.6296399,002.3611174,000,035,000000.00,X,X,1111,000,0,0"));
}