2 * Copyright (C) 2019 Verizon. All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you
3 * may not use this file except in compliance with the License. You may obtain a copy of the License at
5 * http://www.apache.org/licenses/LICENSE-2.0
7 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations under the License.
12 package org.onap.so.adapters.vfc.model;
14 import org.junit.Test;
15 import java.util.Collection;
16 import java.util.Iterator;
17 import java.util.List;
18 import java.util.ListIterator;
19 import static org.junit.Assert.*;
21 public class IpOverEthernetAddressDataTest {
22 IpOverEthernetAddressData ipOverEthernetAddressData = new IpOverEthernetAddressData();
25 public void getMacAddress() {
26 ipOverEthernetAddressData.getMacAddress();
30 public void setMacAddress() {
31 ipOverEthernetAddressData.setMacAddress("4e:86:9f:62:c1:bf");
35 public void getIpAddresses() {
36 ipOverEthernetAddressData.getIpAddresses();
40 public void setIpAddresses() {
41 ipOverEthernetAddressData.setIpAddresses(new List<IpAddresses>() {
48 public boolean isEmpty() {
53 public boolean contains(Object o) {
58 public Iterator<IpAddresses> iterator() {
63 public Object[] toArray() {
68 public <T> T[] toArray(T[] a) {
73 public boolean add(IpAddresses ipAddresses) {
78 public boolean remove(Object o) {
83 public boolean containsAll(Collection<?> c) {
88 public boolean addAll(Collection<? extends IpAddresses> c) {
93 public boolean addAll(int index, Collection<? extends IpAddresses> c) {
98 public boolean removeAll(Collection<?> c) {
103 public boolean retainAll(Collection<?> c) {
108 public void clear() {
113 public IpAddresses get(int index) {
118 public IpAddresses set(int index, IpAddresses element) {
123 public void add(int index, IpAddresses element) {
128 public IpAddresses remove(int index) {
133 public int indexOf(Object o) {
138 public int lastIndexOf(Object o) {
143 public ListIterator<IpAddresses> listIterator() {
148 public ListIterator<IpAddresses> listIterator(int index) {
153 public List<IpAddresses> subList(int fromIndex, int toIndex) {