def METHOD_NAME():
    b64art = create_artifact("http://sp.example.com/saml.xml", b"aabbccddeeffgghhiijj")
    art = base64.b64decode(b64art.encode("ascii"))
    assert art[:2] == ARTIFACT_TYPECODE
    assert int(art[2:4]) == 0
    s = sha1(b"http://sp.example.com/saml.xml")
    assert art[4:24] == s.digest()