code: def test_wrapper_basics(self):
      self.run_layer_test(
          ExampleWrapper,
          init_kwargs={
              "layer": layers.Dense(2),
          },
          input_shape=(2, 3),
          expected_output_shape=(2, 2),
          expected_num_trainable_weights=2,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=0,
          supports_masking=False,
      )
      self.run_layer_test(
          ExampleWrapper,
          init_kwargs={
              "layer": layers.Dense(2, activity_regularizer="l2"),
          },
          input_shape=(2, 3),
          expected_output_shape=(2, 2),
          expected_num_trainable_weights=2,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=1,
          supports_masking=False,
      )
      self.run_layer_test(
          ExampleWrapper,
          init_kwargs={
              "layer": layers.Dense(2),
              "activity_regularizer": "l2",
          },
          input_shape=(2, 3),
          expected_output_shape=(2, 2),
          expected_num_trainable_weights=2,
          expected_num_non_trainable_weights=0,
          expected_num_seed_generators=0,
          expected_num_losses=1,
          supports_masking=False,
      )
      self.run_layer_test(
          ExampleWrapper,
          init_kwargs={
              "layer": layers.BatchNormalization(),
          },
          input_shape=(2, 3),
          expected_output_shape=(2, 3),
          expected_num_trainable_weights=2,
          expected_num_non_trainable_weights=2,
          expected_num_seed_generators=0,
          expected_num_losses=0,
          supports_masking=False,
      )
  
file_path: keras/keras/layers/core/wrapper_test.py
imports: import pytest
  from keras import layers
  from keras import ops
  from keras import testing
label_desc: Use image node_id 1 for calling the WrapperTest obj's underlying member method code with example usage: obj.test_wrapper_basics() without return types