@PostConstruct
private void setup() {
expectedStateEm = new ErraiEntityManager(desiredStateEm, new StorageBackendFactory() {
@Override
public StorageBackend createInstanceFor(ErraiEntityManager em) {
return new WebStorageBackend(em, "expected-state:");
}
});
entityComparator = new EntityComparator(desiredStateEm.getMetamodel(), attributeAccessor);
}