public void MainWindowBeginGame_NavigatesToGame() { var mainWindow = new MainWindowViewModel(); mainWindow.BeginGame.Execute(NumberOfPlayers.Two); mainWindow.Content.Should().BeOfType(typeof(GameViewModel)); }
public void MainWindowAbandonGame_NavigatesToLaunchMenu() { var mainWindow = new MainWindowViewModel(); mainWindow.AbandonGame.Execute(null); mainWindow.Content.Should().BeOfType(typeof(LaunchMenuViewModel)); }
public void MainWindowInitialState_DefaultsToLaunchMenu() { var mainWindow = new MainWindowViewModel(); mainWindow.Content.Should().BeOfType(typeof(LaunchMenuViewModel)); }