ISchedulerFactory implementation for testing purposes.
Inheritance: ISchedulerFactory
Esempio n. 1
0
        public void SetUp()
        {
            factory = new SchedulerFactoryObject();

            TestSchedulerFactory.Initialize();
            A.CallTo(() => TestSchedulerFactory.MockScheduler.SchedulerName).Returns("scheduler");
        }
Esempio n. 2
0
        public void SetUp()
        {
            factory = new SchedulerFactoryObject();

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