Exemplo n.º 1
0
        public void SetUp()
        {
            var deviceId = new DeviceId();

            deviceId.SetDeviceId(new Guid("D7BD15B7-AB64-41FE-994D-5DC8E2E8C9D8"));

            var vectorClock = new MasterVectorClock(deviceId);
            var eventStore  = new EventStore();
            var messageBus  = new EventBus();

            this.unitOfWork = new UnitOfWork(deviceId, vectorClock, eventStore, messageBus);
        }