public void Should_return_default_when_using_finding_saga_with_id_of_another_type()
        {
            var id = Guid.NewGuid();
            var simpleSagaEntity = new SimpleSagaEntity
            {
                Id = id,
                OrderSource = "CA"
            };
            persister.Save(simpleSagaEntity);

            var anotherSagaEntity = persister.Get<AnotherSimpleSagaEntity>(id);
            Assert.IsNull(anotherSagaEntity);
        }
 public async Task Should_return_default_when_using_finding_saga_with_id_of_another_type()
 {
     var id = Guid.NewGuid();
     var simpleSagaEntity = new SimpleSagaEntity
     {
         Id = id,
         OrderSource = "CA"
     };
     var persister = new InMemorySagaPersister();
     var session = new InMemorySynchronizedStorageSession();
     await persister.Save(simpleSagaEntity, SagaMetadataHelper.GetMetadata<SimpleSagaEntitySaga>(simpleSagaEntity), session, new ContextBag());
     await session.CompleteAsync();
     var anotherSagaEntity = await persister.Get<AnotherSimpleSagaEntity>(id, new InMemorySynchronizedStorageSession(),  new ContextBag());
     Assert.IsNull(anotherSagaEntity);
 }