Add unit tests for OscA1Client
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / clients / OscA1Client.java
index 5c18103..f7fd232 100644 (file)
@@ -46,6 +46,10 @@ public class OscA1Client implements A1Client {
         logger.debug("OscA1Client for ric: {}", ricConfig.name());
     }
 
+    public OscA1Client(AsyncRestClient restClient) {
+        this.restClient = restClient;
+    }
+
     @Override
     public Mono<List<String>> getPolicyTypeIdentities() {
         return restClient.get("/policytypes") //