Exemplo n.º 1
0
        protected override void beforeEach()
        {
            actions = new[]
            {
                new ScreenAction(),
                new ScreenAction(),
                new ScreenAction()
            };

            MockFor <IScreenObjectRegistry>().Expect(x => x.Actions).Return(actions).Repeat.Any();


            ClassUnderTest.ActivateScreen(MockFor <IScreen>());
        }