/// <summary> /// Initializes a new instance of the GamesWindowViewModel class /// </summary> /// <param name="sharedService"></param> /// <param name="controlService"></param> /// <param name="gameFinder"></param> public GamesWindowViewModel(ISharedService sharedService, IGamesWindowService controlService, IGameFinderWindow gameFinder) : base(sharedService) { _controlService = controlService; GameFinder = gameFinder; }
public void SetUp() { _sharedService = A.Fake <ISharedService>(); _controlService = A.Fake <IGamesWindowService>(); _gameFinderWindow = A.Fake <IGameFinderWindow>(); _gameFinderWindow.DataContext = A.Fake <IGameFinderWindowViewModel>(); }