public void OneTimeSetUp() { GetInstance <GameList>().Games = GameList(); _viewModel = GetInstance <GameListViewModel>(); _viewModel.Initialise(); }
public void OneTimeSetUp() { GetInstance <GameList>().Games = GameList(); _gameListViewModel = GetInstance <GameListViewModel>(); _manufacturerViewModel = GetInstance <MultipleChoiceFilterViewModel>(); _categoryViewModel = GetInstance <MultipleChoiceFilterViewModel>(); _gameListViewModel.Initialise(); _categoryViewModel.Initialise(); _manufacturerViewModel.Initialise(); _manufacturerViewModel.FilterProperty = nameof(GameViewModel.Manufacturer); _categoryViewModel.FilterProperty = nameof(GameViewModel.Category); }