def METHOD_NAME(p, monkeypatch, parse_method):
    """Run the test."""
    # Given
    monkeypatch.setattr(NameParser, 'parse', parse_method)
    sut = PostProcessor(file_path=p['file_path'], nzb_name=p['nzb_name'])
    # When
    show, season, episodes, quality, version, airdate = sut._parse_info()
    # Then
    assert show is not None
    assert p['expected'] == {
        'show': show.name,
        'season': season,
        'episodes': episodes,
        'quality': quality,
        'version': version,
    }