aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/Gl200ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index 585440fa3..9d2b233a9 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -10,8 +10,7 @@ public class Gl200ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new TestDataManager());
verify(decoder.decode(null, null,
"+RESP:GTFRI,02010D,867844001675407,,0,0,1,2,0.0,0,28.9,8.591011,56.476397,20140915213209,0238,0001,03CB,2871,,97,20140915213459,009A"));