summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/viewandinspect/entity/RelationshipListTest.java
blob: 3e81dbfdfd30cd21a5a20ab6847423088c4634ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package org.onap.aai.sparky.viewandinspect.entity;

import static org.junit.Assert.assertNotNull;

import org.junit.Before;
import org.junit.Test;

public class RelationshipListTest {
	

	private Relationship[] relationship;
	private RelationshipList relationshipList; 
	
	
	@Before
	  public void init() throws Exception {

		relationship = new Relationship[] {};
		relationshipList = new RelationshipList(); 
	      
	  }
	
	
	@Test 
	public void updateValues() {
		
		relationshipList.setRelationshipList(relationship);
		assertNotNull(relationshipList.getRelationshipList());
		assertNotNull(relationshipList.toString());
	}

}