### Question:
AbstractProcessorDecorator implements Processor<TDef> { @Override public void setParentProcessor(final Processor parentProcessor) { this.decoratedProcessor.setParentProcessor(parentProcessor); } AbstractProcessorDecorator(final Processor<TDef> decoratedProcessor); @Override void setElementDef(final TDef elementDef); @Override TDef getElementDef(); @Override Processor getParentProcessor(); @Override void setParentProcessor(final Processor parentProcessor); @Override int getRunningLevel();  }### Answer:
@Test public void setParentProcessor() { mockProcessor.setParentProcessor(same(mockProcessor)); expectLastCall(); EasyMockUnitils.replay(); decorator.setParentProcessor(mockProcessor); }