public void SetUp() { factory = new SchedulerFactoryObject(); TestSchedulerFactory.Initialize(); A.CallTo(() => TestSchedulerFactory.MockScheduler.SchedulerName).Returns("scheduler"); }
public void SetUp() { factory = new SchedulerFactoryObject(); TestSchedulerFactory.Initialize(); TestSchedulerFactory.MockScheduler.Stub(x => x.SchedulerName).Return("scheduler").Repeat.Any(); }