Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. @Test
  2. public void reportSoftMatches() {
  3. List<CPTCode> manualCodes = new ArrayList<>();
  4. manualCodes.add(new CPTCode("99214","25"));
  5.  
  6. List<CPTCode> targetCodes = new ArrayList<>();
  7. CPTCode firstTarget = new CPTCode("99213","");
  8. CPTCode secondTarget = new CPTCode("99214","26");
  9. targetCodes.add(firstTarget);
  10. targetCodes.add(secondTarget);
  11.  
  12. Reconciliation reconciliation = new Reconciliation();
  13. Map<CPTCode,Integer> result = reconciliation.reconcile(manualCodes,targetCodes);
  14.  
  15. assertEquals(0,result.get(secondTarget).intValue());
  16. assertEquals(-1,result.get(firstTarget).intValue());
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement