Add UT for AAICreateOwningEntityTest 17/37017/2
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 20 Mar 2018 09:06:08 +0000 (09:06 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 20 Mar 2018 10:23:12 +0000 (10:23 +0000)
Add UT for AAICreateOwningEntityTest.

Issue-ID: SO-369
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Change-Id: I240bd5b7b1677e9fb88a815f67757ea8e9756e32

bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/AAITasks/AAICreateOwningEntityTest.java [new file with mode: 0644]

diff --git a/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/AAITasks/AAICreateOwningEntityTest.java b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/AAITasks/AAICreateOwningEntityTest.java
new file mode 100644 (file)
index 0000000..4f643e1
--- /dev/null
@@ -0,0 +1,35 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2018 Huawei Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.openecomp.mso.bpmn.infrastructure.AAITasks;
+
+import org.camunda.bpm.engine.delegate.DelegateExecution;
+import org.camunda.bpm.engine.impl.pvm.runtime.ExecutionImpl;
+import org.junit.Test;
+
+public class AAICreateOwningEntityTest {
+
+    DelegateExecution delegateExecution = new ExecutionImpl();
+
+    @Test(expected = UnsupportedOperationException.class)
+    public void executeTest() throws Exception {
+        new AAICreateServiceInstance().execute(delegateExecution);
+    }
+
+}
\ No newline at end of file