aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java')
-rw-r--r--src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
index 4089c208c..dbf6f782c 100644
--- a/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Dsf22ProtocolDecoderTest.java
@@ -1,6 +1,6 @@
package org.traccar.protocol;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import org.traccar.ProtocolTest;
public class Dsf22ProtocolDecoderTest extends ProtocolTest {
@@ -8,7 +8,7 @@ public class Dsf22ProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
- var decoder = new Dsf22ProtocolDecoder(null);
+ var decoder = inject(new Dsf22ProtocolDecoder(null));
verifyPositions(decoder, binary(
"4642a82d01c8f6aa1af1792c0c1411eb61001e0000"));