def METHOD_NAME(proxyStr, proxyProvider, name):
    """Check proxy
    :param str proxyStr: proxy as string
    :param str proxyProvider: proxy provider name
    :param str name: proxy name
    """
    proxyFile = os.path.join(testCAPath, proxyProvider + name.replace(" ", "") + ".pem")
    gLogger.info("Check proxy..")
    chain = X509Chain()
    result = chain.loadProxyFromString(proxyStr)
    self.assertTrue(result["OK"], "\n" + result.get("Message", "Error message is absent."))
    for result in [
        chain.getRemainingSecs(),
        chain.getIssuerCert(),
        chain.getNumCertsInChain(),
        chain.generateProxyToString(3600),
        chain.generateProxyToFile(proxyFile, 3600),
        chain.isProxy(),
        chain.isLimitedProxy(),
        chain.isValidProxy(),
        chain.isVOMS(),
        chain.isRFC(),
    ]:
        self.assertTrue(result["OK"], "\n" + result.get("Message", "Error message is absent."))