View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.student.enrollment.class1.lpr.service.impl;
6   
7   import static org.junit.Assert.*;
8   import java.util.ArrayList;
9   import java.util.Collections;
10  import java.util.Comparator;
11  import java.util.List;
12  import org.kuali.student.enrollment.lpr.dto.LprTransactionInfo;
13  import org.kuali.student.enrollment.lpr.dto.LprTransactionItemInfo;
14  import org.kuali.student.enrollment.test.util.IdEntityTester;
15  import org.kuali.student.enrollment.test.util.ListOfStringTester;
16  
17  /**
18   * Helps create a dynamic 
19   * @author nwright
20   */
21  public class LprTransactionTester {
22  
23      public void check(LprTransactionInfo expected, LprTransactionInfo actual) {
24          assertEquals(expected.getRequestingPersonId(), actual.getRequestingPersonId());
25          assertEquals(expected.getAtpId(), actual.getAtpId());
26          new LprTransactionItemTester ().check(expected.getLprTransactionItems(), actual.getLprTransactionItems());
27      }
28  }