def test_registerAdapterForClass(self):
        """
        Test that an adapter from a class can be registered and then looked
        up.
        """
        class TheOriginal(object):
            pass
        return self._registerAdapterForClassOrInterface(TheOriginal)

        Test that an adapter from a class can be registered and then looked
        up.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_components.py