code: def test_apply(self, case, _offset):
      n, cases = case
      offset = _offset(n)
      for base, expected in cases.items():
          assert_offset_equal(offset, base, expected)
  
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 14 for calling the TestBusinessDay obj's underlying member method code with example usage: obj.test_apply(case, _offset) without return types