Example #1
0
        public void TextInitialize()
        {
            var kernel = AssemblyConfiguration.Kernel;

            _createScheduleCommand = kernel.Get <CreateScheduleCommand>();
            _sut = kernel.Get <GetCurrentScheduleQuery>();
        }
Example #2
0
        public void TestInitialize()
        {
            var commandFactory = AssemblyConfiguration.Kernel.Get <CommandFactory>();
            var queryFactory   = AssemblyConfiguration.Kernel.Get <QueryFactory>();

            _getCurrentScheduleQuery = queryFactory.GetInstance <GetCurrentScheduleQuery>();
            _getTaskQuery            = queryFactory.GetInstance <GetTasksQuery>();
            _createTaskCommand       = commandFactory.GetInstance <CreateTaskCommand>();
            _createScheduleCommand   = commandFactory.GetInstance <CreateScheduleCommand>();
            _sut = commandFactory.GetInstance <TrackWorkTimeCommand>();
        }