aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GotopProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/GotopProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GotopProtocolDecoderTest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/org/traccar/protocol/GotopProtocolDecoderTest.java b/test/org/traccar/protocol/GotopProtocolDecoderTest.java
index 64376a4bb..bc0253e83 100644
--- a/test/org/traccar/protocol/GotopProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GotopProtocolDecoderTest.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;
@@ -14,13 +15,13 @@ public class GotopProtocolDecoderTest {
assertNull(decoder.decode(null, null, ""));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"013226009991924,CMD-T,A,DATE:130802,TIME:153721,LAT:25.9757433S,LOT:028.1087816E,Speed:000.0,X-X-X-X-81-26,000,65501-00A0-4B8E"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"353327020115804,CMD-T,A,DATE:090329,TIME:223252,LAT:22.7634066N,LOT:114.3964783E,Speed:000.0,84-20,000"));
- assertNotNull(decoder.decode(null, null,
+ verify(decoder.decode(null, null,
"353327020115804,CMD-T,A,DATE:090329,TIME:223252,LAT:22.7634066N,LOT:114.3964783E,Speed:000.0,1-1-0-84-20,000"));
}