def METHOD_NAME() -> Generator[FutureEngine, None, None]:
    """Return FutureAgent object"""
    original_future_markets_duration = (
        ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS)
    ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS = 24
    market_agent = MagicMock(autospec=FutureAgent)
    higher_market = MagicMock(autospec=FutureMarkets)
    lower_market = MagicMock(autospec=FutureMarkets)
    future_engine = FutureEngine(name="test_engine", min_bid_age=1, min_offer_age=1,
                                 owner=market_agent, market_1=higher_market, market_2=lower_market)
    yield future_engine
    ConstSettings.FutureMarketSettings.FUTURE_MARKET_DURATION_HOURS = (
        original_future_markets_duration)