covered cases for NetconfAdaptor2
[appc.git] / appc-adapters / appc-netconf-adapter / appc-netconf-adapter-bundle / src / main / java / org / onap / appc / adapter / netconf / internal / NetconfAdapter2.java
index 567a45a..be286cd 100644 (file)
@@ -52,6 +52,19 @@ public class NetconfAdapter2 {
         out = new PipedOutputStream(pipedInOut);
     }
 
+    /**
+     * Constructor.
+     *
+     * @param in  InputStream this instance will read netconf messages from
+     * @param out OutputStream this instance will write netconf messages to
+     * @throws IOException
+     */
+    public NetconfAdapter2(PipedInputStream in, PipedOutputStream out) throws IOException {
+        this.in = in;
+        this.out = out;
+
+    }
+
     /**
      * @return InputStream this instance will read netconf messages from.
      */