Пример #1
0
        public void SetUp()
        {
            screen1 = new StubScreen();
            screen2 = new StubScreen();
            screen3 = new StubScreen();
            screen4 = new StubScreen();

            events  = MockRepository.GenerateMock <IEventAggregator>();
            tabs    = new TabControl();
            screens = new ScreenCollection(tabs, events);
        }
 public void SetUp()
 {
     screen = new StubScreen();
     collection = MockRepository.GenerateMock<IScreenCollection>();
     tab = new StoryTellerTabItem(screen, new NulloEventAggregator()).Item;
 }
Пример #3
0
 public void SetUp()
 {
     screen     = new StubScreen();
     collection = MockRepository.GenerateMock <IScreenCollection>();
     tab        = new StoryTellerTabItem(screen, new NulloEventAggregator()).Item;
 }
        public void SetUp()
        {
            screen1 = new StubScreen();
            screen2 = new StubScreen();
            screen3 = new StubScreen();
            screen4 = new StubScreen();

            events = MockRepository.GenerateMock<IEventAggregator>();
            tabs = new TabControl();
            screens = new ScreenCollection(tabs, events);
        }