def METHOD_NAME(self, mock_setup_default_session):
    profile = "foo"
    ctx = Context()
    ctx.profile = profile
    self.assertEqual(ctx.profile, profile)
    mock_setup_default_session.assert_called_with(region_name=None, profile_name=profile, botocore_session=ANY)