code: def test_forward_linear_no_strategy(self):
      torch.random.manual_seed(0)
      x = torch.randn(2, 50)
  
      model = DefaultModuleAdapter()
      model.add_adapter(name="adapter_0", cfg=get_adapter_cfg())
  
      # delete the strategy
      adapter_module = model.adapter_layer[
          model.get_enabled_adapters()[0]
      ]
      del adapter_module.adapter_strategy
  
      with pytest.raises(AttributeError):
          _ = model(x)
  
imports: import pytest
  import torch
  from nemo.core import NeuralModule
  from nemo.core.classes.mixins import adapter_mixin_strategies, adapter_mixins
  from nemo.core.classes.mixins.adapter_mixins import AdapterModuleMixin
label_desc: Use image node_id 11 for calling the TestAdapterMixin obj's underlying member method code with example usage: obj.test_forward_linear_no_strategy() without return types