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>()); }