try
{
YogaRequestContext context = new YogaRequestContext( "test", resolver,
new DummyHttpServletRequest(), new DummyHttpServletResponse(), listeners );
Selector selector = resolver.resolveSelector( selectorString );
ObjectMapHierarchicalModelImpl model = new ObjectMapHierarchicalModelImpl();
traverser.traverse( instance, selector, model, context );
return model.getUnderlyingModel();
}
catch (ParseSelectorException e)