public SimpleAccessStack(CayenneResources resources, DataSetFactory dataSetFactory,
DataMap[] maps) throws Exception {
this.dataSetFactory = dataSetFactory;
this.resources = resources;
this.domain = new UnitTestDomain("domain");
domain.setEventManager(new DefaultEventManager(2));
domain.setEntitySorter(new AshwoodEntitySorter());
for (DataMap map : maps) {
initNode(map);