2  * Copyright (C) 2020 CMCC, Inc. and others. All rights reserved.
 
   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
 
   8  *     http://www.apache.org/licenses/LICENSE-2.0
 
  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.
 
  16 package org.onap.usecaseui.server.service.slicingdomain.aai.bean;
 
  18 import org.junit.After;
 
  19 import org.junit.Before;
 
  20 import org.junit.Test;
 
  22 public class AAIServiceProfilesTest {
 
  25     public void before() throws Exception {
 
  29     public void after() throws Exception {
 
  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();