public void AllKeysContinue([Values] ConsoleKey input) { var consoleMock = new ConsoleMockBuilder() .WithReadKeySequence(input) .Build(); var sut = new PressAnyKeyToContinue(consoleMock.Object); sut.Ask(); Assert.Pass($"Ask did not block when ReadKey returned {input}"); }