'Getting services for one Service with several Type elements.'

def testGetSeveralForOne(self):

    types = ['http://lid.netmesh.org/sso/2.0b5', 'http://lid.netmesh.org/2.0b5']
    uri = 'http://mylid.net/josh'
    for service in self._getServices():
        if (service.uri == uri):
            found_types = service.matchTypes(types)
            if (found_types == types):
                break
    else:
        self.fail('Did    not    find    service    with    expected    types    and    uris')
