public void testLoadSagaOfDifferentTypesWithSameAssociationValue_NoSagaFound() {
StubSaga testSaga = new StubSaga("test1");
MyOtherTestSaga otherTestSaga = new MyOtherTestSaga("test2");
repository.add(testSaga);
repository.add(otherTestSaga);
testSaga.registerAssociationValue(new AssociationValue("key", "value"));
otherTestSaga.registerAssociationValue(new AssociationValue("key", "value"));
entityManager.flush();
entityManager.clear();
Set<String> actual = repository.find(InexistentSaga.class, new AssociationValue("key", "value"));
assertTrue("Didn't expect any sagas", actual.isEmpty());