code: def test_add_datetime(self, dt, offset2):
      assert offset2 + dt == datetime(2008, 1, 3)
      assert offset2 + np.datetime64("2008-01-01 00:00:00") == datetime(
          2008, 1, 3
      )
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  import numpy
  import pytest
  from pandas._libs.tslibs.offsets import ApplyTypeError, BDay, BMonthEnd
  from pandas import DatetimeIndex, Timedelta, _testing
  from pandas.tests.tseries.offsets.common import assert_is_on_offset, assert_offset_equal
  from pandas.tseries import offsets
label_desc: Use image node_id 7 for calling the TestBusinessDay obj's underlying member method code with example usage: obj.test_add_datetime(dt, offset2) without return types