def METHOD_NAME(self):
    output = textwrap.dedent('''
    PING google.com (172.217.3.206) 56(84) bytes of data.
    --- google.com ping statistics ---
    1 packets transmitted, 0 received, 100% packet loss, time 0ms
    ''').strip().encode('ascii')
    expected_error_msg = 'Not enough output lines in ping output. ' \
                         'The ping may have timed out.'
    expected = ping.PingCommandResult(
        error=expected_error_msg,
        host_or_ip='google.com',
        num_packets=4,
        stats=None,
    )
    actual = ping.parse_ping_output(output, '', self.param)
    self.assertEqual(expected, actual)