You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2019/12/18 17:19:43 UTC

[plc4x] branch next-gen-core updated: Fixed tests

This is an automated email from the ASF dual-hosted git repository.

jfeinauer pushed a commit to branch next-gen-core
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/next-gen-core by this push:
     new 164e9ab  Fixed tests
164e9ab is described below

commit 164e9ab73e9cf4c38f366db7059c9f688885d286
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Wed Dec 18 18:19:32 2019 +0100

    Fixed tests
---
 .../plc4x/java/spi/internal/DefaultSendRequestContextTest.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/plc4j/spi/src/test/java/org/apache/plc4x/java/spi/internal/DefaultSendRequestContextTest.java b/plc4j/spi/src/test/java/org/apache/plc4x/java/spi/internal/DefaultSendRequestContextTest.java
index bbe29ec..dea7957 100644
--- a/plc4j/spi/src/test/java/org/apache/plc4x/java/spi/internal/DefaultSendRequestContextTest.java
+++ b/plc4j/spi/src/test/java/org/apache/plc4x/java/spi/internal/DefaultSendRequestContextTest.java
@@ -20,6 +20,7 @@
 package org.apache.plc4x.java.spi.internal;
 
 import org.apache.plc4x.java.spi.ConversationContext;
+import org.apache.plc4x.java.spi.Plc4xNettyWrapper;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.extension.ExtendWith;
@@ -41,11 +42,14 @@ class DefaultSendRequestContextTest {
     @Mock
     Consumer<HandlerRegistration> finisher;
 
+    @Mock
+    Plc4xNettyWrapper.DefaultConversationContext context;
+
     DefaultSendRequestContext<Object> SUT;
 
     @BeforeEach
     void setUp() {
-        // SUT = new DefaultSendRequestContext<>(finisher);
+        SUT = new DefaultSendRequestContext<>(finisher, null, context);
     }
 
     @Test