def METHOD_NAME(
        buffer_connection,
        command_output_and_expected_result_with_path_and_lines_number):
    command_output, expected_result = command_output_and_expected_result_with_path_and_lines_number
    buffer_connection.remote_inject_response([command_output])
    grep_cmd = Grep(connection=buffer_connection.moler_connection, options='-nH PREROUTING /etc/iptables/rules.v4')
    result = grep_cmd()
    assert expected_result == result