### Question:
CcjDeleteRemovedProcessor implements ItemProcessor<Judgment, DeletedJudgment> { @Override public DeletedJudgment process(Judgment judgment) throws Exception { DeletedJudgment deletedJudgment = new DeletedJudgment(); deletedJudgment.setJudgmentId(judgment.getId()); deletedJudgment.setSourceInfo(judgment.getSourceInfo()); return deletedJudgment; }  @Override DeletedJudgment process(Judgment judgment);  }### Answer:
@Test public void process() throws Exception { Judgment judgment = new CommonCourtJudgment(); Whitebox.setInternalState(judgment, "id", 3L); judgment.getSourceInfo().setSourceCode(SourceCode.COMMON_COURT); judgment.getSourceInfo().setSourceJudgmentId("sourceId"); judgment.getSourceInfo().setSourceJudgmentUrl("sourceUrl"); DeletedJudgment judgmentToRemove = ccjDeleteRemovedProcessor.process(judgment); assertEquals(3L, judgmentToRemove.getJudgmentId()); assertEquals(SourceCode.COMMON_COURT, judgmentToRemove.getSourceInfo().getSourceCode()); assertEquals("sourceId", judgmentToRemove.getSourceInfo().getSourceJudgmentId()); assertEquals("sourceUrl", judgmentToRemove.getSourceInfo().getSourceJudgmentUrl()); }