Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- public void rejectConflictingSoftMatches() {
- List<CPTCode> sourceCodes = new ArrayList<>();
- CPTCode firstSource = new CPTCode("99214","25");
- CPTCode secondSource = new CPTCode("99214","23");
- sourceCodes.add(firstSource);
- sourceCodes.add(secondSource);
- CPTCode firstTarget = new CPTCode("99213","");
- CPTCode secondTarget = new CPTCode("99214","26");
- List<CPTCode> targetCodes = new ArrayList<>();
- targetCodes.add(firstTarget);
- targetCodes.add(secondTarget);
- SoftMatcher softMatcher = new SoftMatcher();
- ReconciliationResult result = softMatcher.reconcile(sourceCodes,targetCodes);
- assertEquals(0,result.matches().size());
- assertEquals("Source List should not be altered",2,sourceCodes.size());
- assertEquals("Target List should not be altered",2,targetCodes.size());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement