def METHOD_NAME(self):
    class IdentityLayer(base_layer.Layer):
        """A layer that returns it's input.
        Useful for testing a layer without a variable.
        """
        def call(self, inputs):
            return inputs
    layer = IdentityLayer()
    self._check_layer_class(layer)