@Test
public void getElementDef() {

    expect(mockProcessor.getElementDef()).andReturn(mockElement);
    EasyMockUnitils.replay();
    final IElementDef element = decorator.getElementDef();
    assertNotNull("Returned element is null.", element);
    assertSame("Unexpected element.", mockElement, element);
}