### Question:
DumpEnrichmentTagItemMapper { public DumpEnrichmentTagItem mapEnrichmentTagFieldsToItemRepresentation(EnrichmentTag enrichmentTag) { DumpEnrichmentTagItem item = new DumpEnrichmentTagItem(); item.setId(enrichmentTag.getId()); item.setJudgmentId(enrichmentTag.getJudgmentId()); item.setTagType(enrichmentTag.getTagType()); item.setValue(enrichmentTag.getValue()); return item; }  DumpEnrichmentTagItem mapEnrichmentTagFieldsToItemRepresentation(EnrichmentTag enrichmentTag);  }### Answer:
@Test public void mapEnrichmentTagFieldsToItemRepresentation() { EnrichmentTag enrichmentTag = new EnrichmentTag(); Whitebox.setInternalState(enrichmentTag, "id", 1); enrichmentTag.setJudgmentId(5); enrichmentTag.setTagType("tagType"); enrichmentTag.setValue("value"); DumpEnrichmentTagItem dumpEnrichmentTagItem = dumpEnrichmentTagItemMapper.mapEnrichmentTagFieldsToItemRepresentation(enrichmentTag); assertEquals(enrichmentTag.getId(), dumpEnrichmentTagItem.getId()); assertEquals(enrichmentTag.getJudgmentId(), dumpEnrichmentTagItem.getJudgmentId()); assertEquals(enrichmentTag.getTagType(), dumpEnrichmentTagItem.getTagType()); assertEquals(enrichmentTag.getValue(), dumpEnrichmentTagItem.getValue()); }