blob: 49c93d0a90171c25d2ae600a92be391abd8b2ce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.onap.appc.sdc.listener;
import org.junit.Assert;
import org.junit.Test;
import org.onap.appc.sdc.artifacts.object.Vnfc;
public class SdcTestObjects {
@Test
public void testVnfcInstance(){
Vnfc vnfc=new Vnfc();
vnfc.setVnfcType("Firewall");
vnfc.setMandatory(true);
vnfc.setResilienceType("Active");
Assert.assertEquals("Firewall",vnfc.getVnfcType());
Assert.assertEquals(true,vnfc.isMandatory());
Assert.assertEquals("Active",vnfc.getResilienceType());
}
}
|