diff options
Diffstat (limited to 'test/org/traccar/protocol/T55ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/T55ProtocolDecoderTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/test/org/traccar/protocol/T55ProtocolDecoderTest.java index 5d9ae4e3a..6d639ee8c 100644 --- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java @@ -8,9 +8,10 @@ public class T55ProtocolDecoderTest { @Test public void testDecode() throws Exception { - - T55ProtocolDecoder decoder = new T55ProtocolDecoder(new TestDataManager()); - + + T55ProtocolDecoder decoder = new T55ProtocolDecoder(null); + decoder.setDataManager(new TestDataManager()); + assertNull(decoder.decode(null, null, "$PGID,359853000144328*0F")); assertNotNull(decoder.decode(null, null, |