Ejemplo n.º 1
0
        protected override void TestInitializeExtensions()
        {
            _eventAggregator = new MockEventAggregator();

            var bottomBarViewModel = new DefaultBottomBarViewModel(MockNavigationService, _eventAggregator);

            Subject.BottomBar = bottomBarViewModel;
        }
 public void TestInitialize()
 {
     IoC.GetInstance    = (type, s) => null;
     _eventAggregator   = new MockEventAggregator();
     _navigationService = new MockNavigationService();
     _subject           = new DefaultBottomBarViewModel(_navigationService, _eventAggregator)
     {
         Navigate = _navigationService.DoNavigate
     };
 }
Ejemplo n.º 3
0
        protected override void TestInitializeExtensions()
        {
            _eventAggregator = new MockEventAggregator();

            var bottomBarViewModel = new DefaultBottomBarViewModel
            {
                NavigationService         = MockNavigationService,
                EventAggregator           = _eventAggregator,
                PlaylistManagementService = new MockPlyalistManagementService(),
                ErrorDialogViewModel      = new MockErrorDialogViewModel()
            };

            Subject.BottomBar = bottomBarViewModel;
        }