aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/WondexProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/WondexProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/WondexProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/WondexProtocolDecoderTest.java b/test/org/traccar/protocol/WondexProtocolDecoderTest.java
index eadd1d357..096273a66 100644
--- a/test/org/traccar/protocol/WondexProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WondexProtocolDecoderTest.java
@@ -9,8 +9,7 @@ public class WondexProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- WondexProtocolDecoder decoder = new WondexProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ WondexProtocolDecoder decoder = new WondexProtocolDecoder(new TestDataManager(), null, null);
verify(decoder.decode(null, null,
"1044989601,20130323074605,0.000000,90.000000,0,000,0,0,2"));