public void testLoadSaga_AssociationValueRemoved() {
String identifier = UUID.randomUUID().toString();
StubSaga saga = new StubSaga(identifier);
saga.registerAssociationValue(new AssociationValue("key", "value"));
entityManager.persist(new SagaEntry(saga, serializer));
entityManager.persist(new AssociationValueEntry(serializer.typeForClass(saga.getClass()).getName(),
identifier, new AssociationValue("key", "value")));
entityManager.flush();
entityManager.clear();
StubSaga loaded = (StubSaga) repository.load(identifier);
loaded.removeAssociationValue("key", "value");