@Test public void overrideJudgment_personnelType() { oldJudgment.setPersonnelType(PersonnelType.SEVEN_PERSON); newJudgment.setPersonnelType(PersonnelType.ONE_PERSON); scSpecificJudgmentOverwriter.overwriteJudgment(oldJudgment, newJudgment, correctionList); assertEquals(PersonnelType.ONE_PERSON, newJudgment.getPersonnelType()); assertEquals(PersonnelType.ONE_PERSON, oldJudgment.getPersonnelType()); }
@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);  }