2 * Copyright (c) 2019 Red Hat, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.onap.ccsdk.features.sdnr.wt.devicemanager.test;
10 import org.junit.Test;
11 import org.mockito.Mockito;
12 import org.onap.ccsdk.features.sdnr.wt.devicemanager.impl.database.types.equipment.ExtendedEquipment;
13 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.core.model.rev170320.EquipmentBuilder;
14 import org.opendaylight.yang.gen.v1.urn.onf.params.xml.ns.yang.core.model.rev170320.UniversalId;
16 public class TestEquipment extends Mockito {
22 EquipmentBuilder equipmentBuilder = new EquipmentBuilder();
23 equipmentBuilder.setUuid( new UniversalId("EquipmentId"));
24 ExtendedEquipment extendedEquipment = new ExtendedEquipment("Parent",equipmentBuilder.build(),1);
26 String extendedEquipmentString = extendedEquipment.toString();
27 System.out.println(extendedEquipmentString);