f407c8288720c3d919cff6a8588aed640a2418d6
[usecase-ui/server.git] /
1 /*
2  * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.usecaseui.server.service.slicingdomain.aai.bean;
17
18 import org.junit.After;
19 import org.junit.Before;
20 import org.junit.Test;
21
22 public class AAIServiceProfilesTest {
23
24     @Before
25     public void before() throws Exception {
26     }
27
28     @After
29     public void after() throws Exception {
30     }
31
32     @Test
33     public void testSetAndGetAAIServiceProfiles() throws Exception {
34         AAIServiceProfiles aaiServiceProfiles = new AAIServiceProfiles();
35         aaiServiceProfiles.setActivityFactor(100);
36         aaiServiceProfiles.setCoverageAreaTAList("test");
37         aaiServiceProfiles.setJitter(20);
38         aaiServiceProfiles.setLatency(20);
39         aaiServiceProfiles.setMaxNumberOfUEs(20);
40         aaiServiceProfiles.setProfileId("profile");
41         aaiServiceProfiles.setReliability(200);
42         aaiServiceProfiles.setResourceSharingLevel("share");
43         aaiServiceProfiles.setResourceVersion("ver123");
44         aaiServiceProfiles.setSurvivalTime(200);
45         aaiServiceProfiles.setUeMobilityLevel("mobile");
46         aaiServiceProfiles.getActivityFactor();
47         aaiServiceProfiles.getCoverageAreaTAList();
48         aaiServiceProfiles.getJitter();
49         aaiServiceProfiles.getLatency();
50         aaiServiceProfiles.getMaxNumberOfUEs();
51         aaiServiceProfiles.getProfileId();
52         aaiServiceProfiles.getReliability();
53         aaiServiceProfiles.getResourceSharingLevel();
54         aaiServiceProfiles.getResourceVersion();
55         aaiServiceProfiles.getSurvivalTime();
56         aaiServiceProfiles.getUeMobilityLevel();
57     }
58 }