3e81dbfdfd30cd21a5a20ab6847423088c4634ee
[aai/sparky-be.git] /
1 package org.onap.aai.sparky.viewandinspect.entity;
2
3 import static org.junit.Assert.assertNotNull;
4
5 import org.junit.Before;
6 import org.junit.Test;
7
8 public class RelationshipListTest {
9         
10
11         private Relationship[] relationship;
12         private RelationshipList relationshipList; 
13         
14         
15         @Before
16           public void init() throws Exception {
17
18                 relationship = new Relationship[] {};
19                 relationshipList = new RelationshipList(); 
20               
21           }
22         
23         
24         @Test 
25         public void updateValues() {
26                 
27                 relationshipList.setRelationshipList(relationship);
28                 assertNotNull(relationshipList.getRelationshipList());
29                 assertNotNull(relationshipList.toString());
30         }
31
32 }