code: def test_wrong_optimizer_cls(self):
      with pytest.raises(AttributeError):
          CoupledOptimizerTrainerConfig(
              encoder_optimizer_cls="WrongOptim"
          )
  
      with pytest.raises(AttributeError):
          CoupledOptimizerTrainerConfig(
              decoder_optimizer_cls="WrongOptim"
          )
  
imports: import os
  from copy import deepcopy
  import pytest
  import torch
  from pythae.models import RAE_L2, RAE_L2_Config
  from pythae.trainers import CoupledOptimizerTrainer, CoupledOptimizerTrainerConfig
  from tests.data.custom_architectures import *
label_desc: Use image node_id 1 for calling the Test_Build_Optimizer obj's underlying member method code with example usage: obj.test_wrong_optimizer_cls() without return types