From 9b99cfe26aafbca5a33e5dcb4cd976e4b44da81d Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Tue, 20 Mar 2018 09:06:08 +0000 Subject: Add UT for AAICreateOwningEntityTest Add UT for AAICreateOwningEntityTest. Issue-ID: SO-369 Signed-off-by: subhash kumar singh Change-Id: I240bd5b7b1677e9fb88a815f67757ea8e9756e32 --- .../AAITasks/AAICreateOwningEntityTest.java | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/AAITasks/AAICreateOwningEntityTest.java (limited to 'bpmn/MSOInfrastructureBPMN/src/test') 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 index 0000000000..4f643e1119 --- /dev/null +++ b/bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/infrastructure/AAITasks/AAICreateOwningEntityTest.java @@ -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 -- cgit 1.2.3-korg