def METHOD_NAME(runway_context: MockRunwayContext) -> None:
    """Test AssumeRole raise ValueError."""
    stubber = runway_context.add_stubber("sts")
    stubber.add_response(
        "assume_role",
        {},
        {"RoleArn": ROLE_ARN, "RoleSessionName": "runway", "DurationSeconds": 3600},
    )
    with stubber, pytest.raises(
        ValueError, match="assume_role did not return Credentials"
    ):
        with AssumeRole(runway_context, role_arn=ROLE_ARN):
            raise AssertionError