public void when_creating_a_saga_repository() { var connection = new EventStore.ClientAPI.EventStoreConnection(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 1113)); var repository = new EventStore.CommonDomain.Persistence.SagaEventStoreRepository_v1(connection, new My_Serializer(), new Saga_Factory()); }
public void when_asking_for_a_saga() { var connection = new EventStore.ClientAPI.EventStoreConnection(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 1113)); var repository = new EventStore.CommonDomain.Persistence.SagaEventStoreRepository_v1(connection, new My_Serializer(), new Saga_Factory()); var id = Guid.NewGuid() + ""; var ar = repository.GetById<MySaga>(id); }