diff options
Diffstat (limited to 'test/org/traccar/protocol/Ev603ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Ev603ProtocolDecoderTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Ev603ProtocolDecoderTest.java b/test/org/traccar/protocol/Ev603ProtocolDecoderTest.java index 230ad238a..8be4a7596 100644 --- a/test/org/traccar/protocol/Ev603ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Ev603ProtocolDecoderTest.java @@ -10,8 +10,7 @@ public class Ev603ProtocolDecoderTest { @Test public void testDecode() throws Exception { - Ev603ProtocolDecoder decoder = new Ev603ProtocolDecoder(null); - decoder.setDataManager(new TestDataManager()); + Ev603ProtocolDecoder decoder = new Ev603ProtocolDecoder(new TestDataManager()); assertNull(decoder.decode(null, null, "!1,123456789012345")); |