def METHOD_NAME(self, mock_input):
    stream = TextIOWrapper(BytesIO(), encoding="ascii")
    mock_input.readline.return_value = "HasÅ‚o: "
    getpass._raw_input(prompt="HasÅ‚o: ",stream=stream)
    mock_input.readline.assert_called_once_with()