blob: 8a976711c67b1d31ddcf7a4a8c584a102413071f [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001/*
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04002 * ============LICENSE_START======================================================= ONAP : SO
3 * ================================================================================ Copyright (C) 2018 TechMahindra
4 * ================================================================================ Licensed under the Apache License,
5 * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy
6 * of the License at
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04007 *
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -04008 * http://www.apache.org/licenses/LICENSE-2.0
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04009 *
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040010 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
11 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
12 * specific language governing permissions and limitations under the License.
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040013 * ============LICENSE_END=========================================================
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040014 */
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040015
16
17import static org.junit.Assert.assertEquals;
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040018import org.junit.Test;
19import org.onap.so.bpmn.common.adapter.sdnc.RequestHeader;
20import org.onap.so.bpmn.common.adapter.sdnc.SDNCAdapterRequest;
21
22public class SDNCAdapterRequestTest {
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040023
Benjamin, Max (mb388a)f47919f2019-04-08 14:14:34 -040024 SDNCAdapterRequest adapter = new SDNCAdapterRequest();
25 RequestHeader rh = new RequestHeader();
26 Object o = new Object();
27
28 @Test
29 public void testSDNCAdapterRequest() {
30 adapter.setRequestHeader(rh);
31 adapter.setRequestData(o);
32 assertEquals(adapter.getRequestHeader(), rh);
33 assertEquals(adapter.getRequestData(), o);
34 }
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040035}