3 * Copyright (c) 2018 Huawei Intellectual Property.
7 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
15 * http://www.apache.org/licenses/LICENSE-2.0
19 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
23 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 * See the License for the specific language governing permissions and
27 * limitations under the License.
31 package org.openecomp.sdc.be.datamodel;
33 import org.junit.Test;
35 import java.util.Arrays;
36 import java.util.HashSet;
39 import static org.assertj.core.api.Assertions.assertThat;
41 public class ForwardingPathsTest {
44 public void testForwardingPaths() {
45 ForwardingPaths testForwardingPaths = new ForwardingPaths();
46 Set<String> path= new HashSet<>(Arrays.asList("test"));
47 testForwardingPaths.setForwardingPathToDelete(path);
48 Set<String> getPath = testForwardingPaths.getForwardingPathToDelete();
49 assertThat(getPath).isEqualTo(path);