Esempio n. 1
0
        protected override void setUp()
        {
            ThereIsAPreviousResultForTheTest();
            Services.PartialMockTheClassUnderTest();

            ThePresenter.Expect(x => x.ChangeModeTo(Mode.Results));
            ThePresenter.Start();
        }
Esempio n. 2
0
        protected override void setUp()
        {
            ThereIsNoPreviousResultForTheTest();
            theTest.IsEmpty().ShouldBeTrue();

            Services.PartialMockTheClassUnderTest();

            ThePresenter.Expect(x => x.ChangeModeTo(Mode.Preview));

            ThePresenter.Start();
        }
Esempio n. 3
0
        protected override void setUp()
        {
            ThereIsNoPreviousResultForTheTest();
            theTest.Add(new Section("something"));

            Services.PartialMockTheClassUnderTest();

            ThePresenter.Expect(x => x.ChangeModeTo(Mode.Preview));

            ThePresenter.Start();
        }