Ejemplo n.º 1
0
        public FakeIMutableQueryModelEventHandlerTests()
        {
            var storage  = new InProcessImmutableQueryModelStorage <FakeImmutableQueryModel>(new InProcessTableStorage <FakeImmutableQueryModel>());
            var mediator = new Mock <IMediator>();

            Fixture      = new Fixture();
            Storage      = storage;
            EventHandler = new FakeImmutableEventHandler(storage, storage, mediator.Object);
        }
Ejemplo n.º 2
0
 public ImmutableQueryModelEventHandlerTests()
 {
     storage  = new InProcessImmutableQueryModelStorage <FakeImmutableQueryModel>(new InProcessTableStorage <FakeImmutableQueryModel>());
     mediator = new FakeMediator();
     handler  = new DummyImmutableQueryModelEventHandler(storage, storage, mediator);
 }