def METHOD_NAME(self):
    yaml = """
        extract:
            Opportunity:
                fields:
                    - Name
                    - ContactId
                    - AccountId
    """
    parse_result = ExtractRulesFile.parse_from_yaml(StringIO(yaml))
    assert parse_result.version == 1
    extract = parse_result.extract
    assert tuple(extract.keys()) == ("Opportunity",)