def METHOD_NAME(reset_test_data):
    current_year = datetime.utcnow().year
    segments = extract_segments_of_year.run(current_year)
    expected_segments = pd.DataFrame(
        {
            "segment": ["SWW01/02/03", "SWW04"],
            "segment_name": ["Bottom trawls", "Midwater trawls"],
            "gears": [
                ["OTB", "OTT", "PTB", "OT", "PT", "TBN", "TBS", "TX", "TB"],
                ["OTM", "PTM"],
            ],
            "fao_areas": [["27.8.c", "27.8", "27.9"], ["27.8.c", "27.8"]],
            "species": [["ANF", "HKE", "LEZ", "MNZ", "NEP", "SOL"], ["HKE"]],
            "impact_risk_factor": [3.0, 2.1],
        }
    )
    pd.testing.assert_frame_equal(
        segments.sort_values("segment").reset_index(drop=True),
        expected_segments.sort_values("segment").reset_index(drop=True),
    )