diff options
Diffstat (limited to 'test/org/traccar/protocol/KhdProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/KhdProtocolDecoderTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/KhdProtocolDecoderTest.java b/test/org/traccar/protocol/KhdProtocolDecoderTest.java index 2c9b3560e..9f6aecf37 100644 --- a/test/org/traccar/protocol/KhdProtocolDecoderTest.java +++ b/test/org/traccar/protocol/KhdProtocolDecoderTest.java @@ -12,8 +12,7 @@ public class KhdProtocolDecoderTest { @Test public void testDecode() throws Exception { - KhdProtocolDecoder decoder = new KhdProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + KhdProtocolDecoder decoder = new KhdProtocolDecoder(new TestDataManager()); assertNull(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertArray( new int[] {0x29,0x29,0xb1,0x00,0x06,0x05,0x16,0x29,0x35,0xb8,0x0d})))); |