aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/FreedomProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/FreedomProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
index ead8c980b..e58de3bb1 100644
--- a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
@@ -10,8 +10,7 @@ public class FreedomProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- FreedomProtocolDecoder decoder = new FreedomProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ FreedomProtocolDecoder decoder = new FreedomProtocolDecoder(new TestDataManager(), null, null);
verify(decoder.decode(null, null,
"IMEI,353358011714362,2014/05/22, 20:49:32, N, Lat:4725.9624, E, Lon:01912.5483, Spd:5.05"));