### Question:
AbstractProcessorDecorator implements Processor<TDef> { @Override public Processor getParentProcessor() { return this.decoratedProcessor.getParentProcessor(); } 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 getParentProcessor() { expect(mockProcessor.getParentProcessor()).andReturn(mockProcessor); EasyMockUnitils.replay(); final Processor parent = decorator.getParentProcessor(); assertNotNull("Parent processor is null.", parent); assertSame("Unexpected parent processor.", mockProcessor, parent); }