def METHOD_NAME(self, patched_session, patched_get_client):
    given_session = Mock()
    patched_session.return_value = given_session
    given_client_generator = Mock()
    patched_get_client.return_value = given_client_generator
    given_config_param = Mock()
    given_profile = Mock()
    given_region = Mock()
    client_generator = get_boto_client_provider_with_config(
        region=given_region, profile=given_profile, param=given_config_param
    )
    patched_session.assert_called_with(region_name=given_region, profile_name=given_profile)
    patched_get_client.assert_called_with(given_session, param=given_config_param)
    self.assertEqual(given_client_generator, client_generator)