aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 66aea768c..bc053ce85 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -12,8 +12,7 @@ public class MeiligaoProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
- MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(null);
- decoder.setDataManager(new TestDataManager());
+ MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new TestDataManager());
assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray(
new int[]{0x24,0x24,0x00,0x00,0x12,0x34,0x56,0xFF,0xFF,0xFF,0xFF,0x50,0x00,0x8B,0x9B,0x0D,0x0A}))));