def testpa(pa):
    """Test of ProcessArgs.

    Usage:

    >>> pa=ProcessArgs('inFile.py')
    >>> testpa(pa)  #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
    Arguments processed:
      Include Metric Modules=sloc:SLOCMetric,mccabe:McCabeMetric
      quiet=False
      verbose=0
    Metrics to be used are:
      Module sloc contains metric class SLOCMetric
      Module mccabe contains metric class McCabeMetric
    Input files:
      inFile.py
    >>>
    """
    print(
        'Arguments processed:\n\tInclude Metric Modules=%s\n\tquiet=%s\n\tverbose=%s'
         % (pa.include_metrics_str, pa.quiet, pa.verbose))
    print('Metrics to be used are:')
    for m, n in pa.include_metrics:
        print('\tModule %s contains metric class %s' % (m, n))
    if pa.in_file_names:
        print('Input files:')
        for f in pa.in_file_names:
            print('\t%s' % f)
