@Test public void overrideJudgment_scChamberDivision() { SupremeCourtChamberDivision oldScChamberDivision = new SupremeCourtChamberDivision(); oldJudgment.setScChamberDivision(oldScChamberDivision); SupremeCourtChamberDivision newScChamberDivision = new SupremeCourtChamberDivision(); newJudgment.setScChamberDivision(newScChamberDivision); scSpecificJudgmentOverwriter.overwriteJudgment(oldJudgment, newJudgment, correctionList); assertTrue(newScChamberDivision == newJudgment.getScChamberDivision()); assertTrue(newScChamberDivision == oldJudgment.getScChamberDivision()); }
@Override public void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList) { overwriteScChambers(oldJudgment, newJudgment); overwriteScChamberDivision(oldJudgment, newJudgment); overwritePersonnelType(oldJudgment, newJudgment); overwriteScJudgmentForm(oldJudgment, newJudgment); }
ScSpecificJudgmentOverwriter implements JudgmentOverwriter<SupremeCourtJudgment> { @Override public void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList) { overwriteScChambers(oldJudgment, newJudgment); overwriteScChamberDivision(oldJudgment, newJudgment); overwritePersonnelType(oldJudgment, newJudgment); overwriteScJudgmentForm(oldJudgment, newJudgment); } }
ScSpecificJudgmentOverwriter implements JudgmentOverwriter<SupremeCourtJudgment> { @Override public void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList) { overwriteScChambers(oldJudgment, newJudgment); overwriteScChamberDivision(oldJudgment, newJudgment); overwritePersonnelType(oldJudgment, newJudgment); overwriteScJudgmentForm(oldJudgment, newJudgment); }  }
ScSpecificJudgmentOverwriter implements JudgmentOverwriter<SupremeCourtJudgment> { @Override public void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList) { overwriteScChambers(oldJudgment, newJudgment); overwriteScChamberDivision(oldJudgment, newJudgment); overwritePersonnelType(oldJudgment, newJudgment); overwriteScJudgmentForm(oldJudgment, newJudgment); }  @Override void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList); }
ScSpecificJudgmentOverwriter implements JudgmentOverwriter<SupremeCourtJudgment> { @Override public void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList) { overwriteScChambers(oldJudgment, newJudgment); overwriteScChamberDivision(oldJudgment, newJudgment); overwritePersonnelType(oldJudgment, newJudgment); overwriteScJudgmentForm(oldJudgment, newJudgment); }  @Override void overwriteJudgment(SupremeCourtJudgment oldJudgment, SupremeCourtJudgment newJudgment, ImportCorrectionList correctionList);  }