public TvShowManagerViewModelTests() { _sourceManagerViewModel = Substitute.For <ISourceManagerViewModel>(); _sourceManagerViewModel.SpecificFolders .Returns(new ObservableCollection <string>()); _viewModelFactory = Substitute.For <ITvShowViewModelFactory>(); _viewModelFactory.GetSourceManager(SourceType.TvShow) .Returns(_sourceManagerViewModel); _busyProvider = Substitute.For <IBusyProvider>(); _viewModel = new TvShowManagerViewModel(_viewModelFactory, null, _busyProvider); }
public TvShowManagerViewModelTests() { _sourceManagerViewModel = Substitute.For<ISourceManagerViewModel>(); _sourceManagerViewModel.SpecificFolders .Returns(new ObservableCollection<string>()); _viewModelFactory = Substitute.For<ITvShowViewModelFactory>(); _viewModelFactory.GetSourceManager(SourceType.TvShow) .Returns(_sourceManagerViewModel); _busyProvider = Substitute.For<IBusyProvider>(); _viewModel = new TvShowManagerViewModel(_viewModelFactory, null, _busyProvider); }