final DialogPart dialogPart = new DialogPart();
try
{
dialogPart.init( null, element, definition.resolve(), Collections.<String,String>emptyMap() );
dialogPart.initialize();
final GroupPart groupPart = (GroupPart) dialogPart.children().all().get( 0 );
final PropertyEditorPart propertyEditorPart = (PropertyEditorPart) groupPart.children().all().get( 0 );
testForExpectedValue( new PartFunctionContext( propertyEditorPart, element ), "${ Part }", propertyEditorPart );