From d998f74d1153630090b173d4d74cd9f776ccd95d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Apr 2014 18:45:44 +1200 Subject: Fix Syrus unit test (fix #643) --- test/org/traccar/protocol/SyrusProtocolDecoderTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- cgit v1.2.3