// The remote interface is asked for instances, which are returned as data objects
final DummyObjectData instanceData =
new DummyObjectData(new TestProxyOid(12, true), Movie.class.getName(), true, new TestProxyVersion(3));
// The data then needs to be decoded into the ObjectAdapter
final TestProxyAdapter dummyObjectAdapter = new TestProxyAdapter();
// new DummyOid(12, true), ResolveState.GHOST, "test");
dummyObjectAdapter.setupObject(new Movie());
dummyObjectAdapter.setupSpecification(new MovieSpecification());
final PersistenceQueryData c = new TestCriteria();
final ObjectSpecification noSpec = getSpecificationLoader().loadSpecification(Movie.class);
final PersistenceQueryFindAllInstances criteria = new PersistenceQueryFindAllInstances(noSpec);