def METHOD_NAME(self, monkeypatch: pytest.MonkeyPatch):
    mock_input = Mock()
    monkeypatch.setattr("builtins.input", mock_input)
    output = StringIO()
    console = ConsoleOutput(output)
    assert console.ask("test: ") is None
    assert output.getvalue() == ""
    assert mock_input.call_args_list == []