def test_get_services_with_strings(self):

        from envisage.tests.foo import Foo

        # Register a couple of services using a string protocol name.
        protocol_name = 'envisage.tests.foo.IFoo'

        self.service_registry.register_service(protocol_name, Foo())
        self.service_registry.register_service(protocol_name, Foo())

        # Look them up using the same string!
        services = self.service_registry.get_services(protocol_name)
        self.assertEqual(2, len(services))

        return
Constructor
dataset/ETHPy150Open enthought/envisage/envisage/tests/service_registry_test_case.py/ServiceRegistryTestCase.test_get_services_with_strings--crossover with--dataset/ETHPy150Open SheffieldML/GPy/GPy/plotting/matplot_dep/controllers/axis_event_controller.py/AxisChangedController.__init__