aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
index b1282cac7..5c841b211 100644
--- a/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
@@ -9,7 +9,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeNtcb() throws Exception {
- var decoder = new NavisProtocolDecoder(null);
+ var decoder = inject(new NavisProtocolDecoder(null));
verifyNull(decoder, binary(
"404E5443010000007B000000130044342A3E533A383631373835303035323035303739"));
@@ -41,7 +41,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeFlex10() throws Exception {
- var decoder = new NavisProtocolDecoder(null);
+ var decoder = inject(new NavisProtocolDecoder(null));
verifyNull(decoder, binary(
"404e544301000000c9b5f602130046c52a3e533a383639363936303439373232383235"));
@@ -60,7 +60,7 @@ public class NavisProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecodeFlex20() throws Exception {
- var decoder = new NavisProtocolDecoder(null);
+ var decoder = inject(new NavisProtocolDecoder(null));
verifyNull(decoder, binary(
"404e544301000000a9eef602130043fb2a3e533a383639363936303439373337333835"));