public override void BeforeEach()
 {
     base.BeforeEach();
     _emailNotificationWorker = Container.Resolve <EmailNotificationWorker>();
     _smsNotificationWorker   = Container.Resolve <SmsNotificationWorker>();
     _serviceBus      = Container.Resolve <FakeServiceBus>();
     _eventRepository = Container.Resolve <FakeEventRepository>();
 }
        public override void BeforeEach()
        {
            base.BeforeEach();

            _playerCommands          = Container.Resolve <PlayerCommands>();
            _emailNotificationWorker = Container.Resolve <EmailNotificationWorker>();
            _smsNotificationWorker   = Container.Resolve <SmsNotificationWorker>();
        }
Esempio n. 3
0
        public override void BeforeEach()
        {
            base.BeforeEach();

            _eventRepository         = Container.Resolve <IEventRepository>();
            _emailNotificationWorker = Container.Resolve <EmailNotificationWorker>();
            _smsNotificationWorker   = Container.Resolve <SmsNotificationWorker>();
            _playerTestHelper        = Container.Resolve <PlayerTestHelper>();
        }