def METHOD_NAME(self):
    yaml = """
        version: 1
        extract:
            Opportunity:
                fields:
                    - Name
                    - ContactId
                    - AccountId
            OBJECTS(CUSTOM):
                fields: FIELDS(CUSTOM)
            OBJECTS(STANDARD):
                fields: FIELDS(CUSTOM)
    """
    parse_result = ExtractRulesFile.parse_from_yaml(StringIO(yaml))
    assert parse_result.version == 1
    extract = parse_result.extract
    assert tuple(extract.keys()) == (
        "Opportunity",
        "OBJECTS(CUSTOM)",
        "OBJECTS(STANDARD)",
    )
    assert extract["OBJECTS(STANDARD)"].fields == ["FIELDS(CUSTOM)"]
    assert extract["OBJECTS(STANDARD)"].sf_object == "OBJECTS(STANDARD)"
    assert extract["OBJECTS(STANDARD)"].group_type.value == "standard"
    assert extract["Opportunity"].group_type is None