blob: 0b506df11fa7026a495ed7f07998c74e7ad446b7 (
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
33
34
|
package org.onap.aai.sparky.config.oxm;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import org.junit.Before;
import org.junit.Test;
public class CrossEntityReferenceDescriptorTest {
private CrossEntityReferenceDescriptor crossEntityReferenceDescriptor;
private CrossEntityReference crossEntityReference;
@Before
public void init() throws Exception {
crossEntityReference = new CrossEntityReference();
crossEntityReferenceDescriptor = new CrossEntityReferenceDescriptor();
}
@Test
public void updateValues() {
crossEntityReferenceDescriptor.setCrossEntityReference(crossEntityReference);
assertNotNull(crossEntityReferenceDescriptor.getCrossEntityReference());
crossEntityReferenceDescriptor.hasCrossEntityReferences();
assertFalse(crossEntityReferenceDescriptor.hasCrossEntityReferences());
assertNotNull(crossEntityReferenceDescriptor.toString());
}
}
|