public Object getPropertyValueViaReflection(Object o, String field) throws ReflectiveOperationException, IllegalArgumentException, IntrospectionException {
        return new PropertyDescriptor(field, o.getClass()).getReadMethod().invoke(o);
    }
Dummy implementation of LazyDataModel that uses a list to mimic a real datasource like a database.
primefaces-integration-tests/src/main/java/org/primefaces/integrationtests/datatable/CustomerLazyDataModel.java