def METHOD_NAME(buffer_connection,
                                                            command_output_and_expected_result_passwords_do_not_match):
    command_output, expected_result = command_output_and_expected_result_passwords_do_not_match
    buffer_connection.remote_inject_response([command_output])
    passwd_cmd = Passwd(connection=buffer_connection.moler_connection, user="user", current_password="current_password",
                        new_password="new_password")
    with pytest.raises(CommandFailure) as exc:
        passwd_cmd()
    assert "Authentication token manipulation error" in str(exc.value)