diff options
Diffstat (limited to 'appc-dispatcher')
-rw-r--r-- | appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestDataTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestDataTest.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestDataTest.java index d82e5cf9f..b7c60c761 100644 --- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestDataTest.java +++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/model/RequestDataTest.java @@ -23,6 +23,9 @@ package org.onap.appc.requesthandler.model; import static org.junit.Assert.assertEquals; +import java.util.ArrayList; +import java.util.List; + import org.junit.Before; import org.junit.Test; @@ -47,5 +50,12 @@ public class RequestDataTest { requestData.setCurrentRequest(requestModel); assertEquals(requestModel, requestData.getCurrentRequest()); } + + @Test + public void testInProgressRequests() { + List<RequestModel> inProgressRequests = new ArrayList<>(); + requestData.setInProgressRequests(inProgressRequests); + assertEquals(inProgressRequests, requestData.getInProgressRequests()); + } } |