def METHOD_NAME(**kwargs):
    session = Mock()
    session.profile_name = "default"
    session.available_profiles = ["test-profile-1", "test-profile-2"]
    session.get_available_regions.return_value = [
        "us-east-1",
        "us-east-2",
        "us-west-2",
        "eu-west-1",
        "ap-northeast-1",
    ]
    if "profile_name" in kwargs:
        session.profile_name = kwargs["profile_name"]
        session.region_name = region
    else:
        session.profile_name = "default"
        session.region_name = None
    return session