def test_decorated_encoder(self):
    """Simple test to verify that decorated encoders have been registered."""
    encoder_name = encoder_registry.get_registered_encoder('decorated_encoder')
    self.assertIsNotNone(encoder_name)
    self.assertEqual(encoder_name.__name__, 'DecoratedEncoder')
Simple test to verify that decorated encoders have been registered.
language/mentionmemory/encoders/encoder_registry_test.py