def METHOD_NAME(thumbprint):
    """
    Test - Check the certificate for validity.
    """
    with patch.dict(win_pki.__salt__), patch(
        "salt.modules.win_pki._cmd_run", MagicMock(return_value="True")
    ), patch("salt.modules.win_pki._validate_cert_path", MagicMock(return_value=None)):
        assert win_pki.test_cert(thumbprint=thumbprint)