1
2
3
4
5 package org.kuali.student.common.test.util;
6
7 import static org.junit.Assert.assertEquals;
8
9 import org.kuali.student.r2.common.dto.RelationshipInfo;
10
11
12
13
14
15 public class RelationshipTester {
16
17 public void check (RelationshipInfo expected, RelationshipInfo actual) {
18
19 assertEquals(expected.getTypeKey(), actual.getTypeKey());
20 assertEquals(expected.getStateKey(), actual.getStateKey());
21
22 new TimeTester().check(expected.getEffectiveDate(), actual.getEffectiveDate());
23 new TimeTester().check(expected.getExpirationDate(), actual.getExpirationDate());
24 }
25
26
27 }