protected override void setUp() { Services.PartialMockTheClassUnderTest(); MockFor <ITestService>().Expect(x => x.CreatePreview(theTest)).Return(theHtml); ThePresenter.ChangeModeTo(Mode.Preview); }
protected override void setUp() { Services.PartialMockTheClassUnderTest(); MockFor <ITestStateManager>().Expect(x => x.CurrentXml).Return(theXml); ThePresenter.ChangeModeTo(Mode.Xml); }
protected override void setUp() { Services.PartialMockTheClassUnderTest(); theTest.LastResult = new TestResult() { Html = "<html />" }; ThePresenter.ChangeModeTo(Mode.Results); }
protected override void setUp() { ThePresenter.ChangeModeTo(Mode.Results); }