ISchedulerFactory implementation for testing purposes.
Наследование: ISchedulerFactory
Пример #1
0
        public void SetUp()
        {
            factory = new SchedulerFactoryObject();

            TestSchedulerFactory.Initialize();
            A.CallTo(() => TestSchedulerFactory.MockScheduler.SchedulerName).Returns("scheduler");
        }
Пример #2
0
        public void SetUp()
        {
            factory = new SchedulerFactoryObject();

            TestSchedulerFactory.Initialize();
            TestSchedulerFactory.MockScheduler.Stub(x => x.SchedulerName).Return("scheduler").Repeat.Any();
        }