def METHOD_NAME(self, mock_engine, mock_mm):
    config_file_path = ''
    db_conn_str = ''
    endpoint = ''
    service_config = config.ServiceConfig(config_file_path,
                                          db_conn_str,
                                          endpoint)
    is_success, err_msg = service_config.update_configuration()
    has_err_msg = len(err_msg) > 0
    self.assertFalse(is_success)
    self.assertTrue(has_err_msg)