def test_multiple_factories_for_interface(self):

        # There was a bug that prevented more than one adapter factory being
        # registered for the same class. This test just makes sure that it
        # still works for interfaces too!
        class IBaz(Interface):
            pass

        class IFoo(Interface):
            pass

        class IBazToIFooAdapter(Adapter):
            adapts(IBaz, to=IFoo, cached=True)

        class IBar(Interface):
            pass

        class IBazToIBarAdapter(Adapter):
            adapts(IBaz, to=IBar, cached=True)

        return


# Run the unit tests (if invoked from the command line):
Load ComparableX509 cert.
dataset/ETHPy150Open enthought/traits/traits/tests/test_protocols_usage.py/ProtocolsUsageTestCase.test_multiple_factories_for_interface--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/acme/acme/test_util.py/load_comparable_cert