static void Main(string[] args) { RealConsole console = new RealConsole(); programUI ui = new programUI(console); ui.Run(); }
public void AddToList_ShouldSeeItemInOutput() { List <string> commandList = new List <string> { "4", "title", "description", "Genre", "27", "5", "4", "language", "7" }; MockConsole console = new MockConsole(commandList); programUI ui = new programUI(console); ui.Run(); Console.WriteLine(console.Output); }