Exemplo n.º 1
0
 public EventChecker(TestableDomain uow, IdRegistry ids, TestableEventFactory factory, TEntity entity)
 {
     _ids     = ids;
     _uow     = uow;
     _factory = factory;
     _entity  = entity;
 }
Exemplo n.º 2
0
 public EventPlanner(TestableDomain uow, IdRegistry ids, TestableEventStore events, TestableSnapshotStore snapshots, TestableEventFactory factory, Func <TEntity> entityFactory, string bucket, TestableId id, IEntity parent = null)
 {
     _ids           = ids;
     _uow           = uow;
     _events        = events;
     _snapshots     = snapshots;
     _factory       = factory;
     _entityFactory = entityFactory;
     _bucket        = bucket;
     _id            = id;
     _parent        = parent;
 }
Exemplo n.º 3
0
 public TestableProcessor()
 {
     _factory  = new TestableEventFactory(new MessageMapper());
     Planned   = new Dictionary <string, object>();
     Requested = new List <string>();
 }