"<%s library='l' property='p' description='%s'/>", ImportDefHandler.TAG, expectedDescription), "myID",
Format.XML);
Mockito.doReturn(parentDescriptor).when(parentHandler).getDefDescriptor();
ImportDefHandler handler = new ImportDefHandler(parentHandler, getReader(source), source);
ImportDef actualDef = handler.getElement();
assertEquals(expectedDescription, actualDef.getDescription());
}