aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/GpsGateProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GpsGateProtocolDecoderTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
index 9e6bb405f..5fbabbb00 100644
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
@@ -1,6 +1,7 @@
package org.traccar.protocol;
-import static org.junit.Assert.assertNotNull;
+import org.traccar.helper.TestDataManager;
+import static org.traccar.helper.DecoderVerifier.verify;
import static org.junit.Assert.assertNull;
import org.junit.Test;
@@ -18,7 +19,7 @@ public class GpsGateProtocolDecoderTest {
assertNull(decoder.decode(null, null, "$FRLIN,IMEI,1234123412341234,*7B"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"$GPRMC,154403.000,A,6311.64120,N,01438.02740,E,0.000,0.0,270707,,*0A"));
}