def METHOD_NAME(self, ferc1_engine_dbf):
    """Test extract_xbrl."""
    years = [2021]  # add desired years here
    configured_dataset_settings = {"ferc1": {"years": years}}
    dataset_init_context = build_init_resource_context(
        config=configured_dataset_settings
    )
    configured_dataset_settings = pudl.resources.dataset_settings(
        dataset_init_context
    )
    ferc1_xbrl_raw_dfs = pudl.extract.ferc1.extract_xbrl(
        configured_dataset_settings
    )
    for table_name, xbrl_tables in ferc1_xbrl_raw_dfs.items():
        for table_type, df in xbrl_tables.items():
            # Some raw xbrl tables are empty
            if not df.empty and table_type == "duration":
                assert (df.report_year >= 2021).all() and (
                    df.report_year < 2022
                ).all(), f"Unexpected years found in table: {table_name}"