def METHOD_NAME():
    """Fixture for an area object."""
    original_future_markets = ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS
    ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS = 24
    original_registry = DeviceRegistry.REGISTRY
    DeviceRegistry.REGISTRY = {
        "General Load": (33, 35),
    }
    config = Mock()
    config.slot_length = duration(minutes=15)
    config.tick_length = duration(seconds=15)
    config.ticks_per_slot = 60
    config.start_date = today(tz=TIME_ZONE)
    config.grid_fee_type = ConstSettings.MASettings.GRID_FEE_TYPE
    config.end_date = config.start_date + duration(days=1)
    child = Area(name="test_market_area", config=config, strategy=StorageStrategy())
    area = Area(name="parent_area", children=[child], config=config)
    ConstSettings.BalancingSettings.ENABLE_BALANCING_MARKET = False
    ConstSettings.SettlementMarketSettings.ENABLE_SETTLEMENT_MARKETS = False
    gsy_e.constants.RETAIN_PAST_MARKET_STRATEGIES_STATE = False
    yield area
    ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS = original_future_markets
    DeviceRegistry.REGISTRY = original_registry
    ConstSettings.BalancingSettings.ENABLE_BALANCING_MARKET = False
    ConstSettings.SettlementMarketSettings.ENABLE_SETTLEMENT_MARKETS = False
    gsy_e.constants.RETAIN_PAST_MARKET_STRATEGIES_STATE = False