def METHOD_NAME(self):
    with pytest.raises(ValueError) as excinfo:
        test_module.decode_pack_message_outer(json.dumps({"invalid": "content"}))
    assert "Invalid packed message" in str(excinfo.value)
    recips = str_to_b64(
        json.dumps(
            {
                "enc": "xchacha20poly1305_ietf",
                "typ": "JWM/1.0",
                "alg": "Quadruple rot-13",
                "recipients": "not a list",
            }
        )
    )
    with pytest.raises(ValueError) as excinfo:
        test_module.decode_pack_message_outer(
            json.dumps(
                {
                    "protected": recips,
                    "iv": "MTIzNDU",
                    "tag": "MTIzNDU",
                    "ciphertext": "MTIzNDU",
                }
            )
        )
    assert "Invalid packed message" in str(excinfo.value)
    recips = str_to_b64(
        json.dumps(
            {
                "enc": "xchacha20poly1305_ietf",
                "typ": "JWM/1.0",
                "alg": "Quadruple rot-13",
                "recipients": [{"encrypted_key": "MTIzNDU"}],
            }
        )
    )
    with pytest.raises(ValueError) as excinfo:
        test_module.decode_pack_message_outer(
            json.dumps(
                {
                    "protected": recips,
                    "iv": "MTIzNDU",
                    "tag": "MTIzNDU",
                    "ciphertext": "MTIzNDU",
                }
            )
        )
    assert "Unsupported pack algorithm" in str(excinfo.value)