aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SyrusProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-04-12 18:45:44 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-04-12 18:45:44 +1200
commitd998f74d1153630090b173d4d74cd9f776ccd95d (patch)
tree14fd482a8255a8951b559ca4f4414f5385528ee4 /test/org/traccar/protocol/SyrusProtocolDecoderTest.java
parentb4b0a64547dce88db6544ec03f29f9a001aec280 (diff)
downloadtrackermap-server-d998f74d1153630090b173d4d74cd9f776ccd95d.tar.gz
trackermap-server-d998f74d1153630090b173d4d74cd9f776ccd95d.tar.bz2
trackermap-server-d998f74d1153630090b173d4d74cd9f776ccd95d.zip
Fix Syrus unit test (fix #643)
Diffstat (limited to 'test/org/traccar/protocol/SyrusProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SyrusProtocolDecoderTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SyrusProtocolDecoderTest.java b/test/org/traccar/protocol/SyrusProtocolDecoderTest.java
index 027d45acd..b17da94f7 100644
--- a/test/org/traccar/protocol/SyrusProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SyrusProtocolDecoderTest.java
@@ -1,5 +1,6 @@
package org.traccar.protocol;
+import static org.junit.Assert.assertNotNull;
import org.traccar.helper.TestDataManager;
import static org.traccar.helper.DecoderVerifier.verify;
import org.junit.Test;
@@ -12,7 +13,7 @@ public class SyrusProtocolDecoderTest {
SyrusProtocolDecoder decoder = new SyrusProtocolDecoder(null, false);
decoder.setDataManager(new TestDataManager());
- verify(decoder.decode(null, null,
+ assertNotNull(decoder.decode(null, null,
">RPV00000+3739438-1220384601512612;ID=1234;*7F"));
verify(decoder.decode(null, null,