protected override void setUp() { ThereIsAPreviousResultForTheTest(); Services.PartialMockTheClassUnderTest(); ThePresenter.Expect(x => x.ChangeModeTo(Mode.Results)); ThePresenter.Start(); }
protected override void setUp() { ThereIsNoPreviousResultForTheTest(); theTest.IsEmpty().ShouldBeTrue(); Services.PartialMockTheClassUnderTest(); ThePresenter.Expect(x => x.ChangeModeTo(Mode.Preview)); ThePresenter.Start(); }
protected override void setUp() { ThereIsNoPreviousResultForTheTest(); theTest.Add(new Section("something")); Services.PartialMockTheClassUnderTest(); ThePresenter.Expect(x => x.ChangeModeTo(Mode.Preview)); ThePresenter.Start(); }