You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: addon_test.go
    path of file: ./repos/erda/bundle
    
    the code of the file until where you have to start completion: // Copyright (c) 2021 Terminus, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may n
    
func TestBundle_GetRuntimeAddonConfig(t *testing.T) {
	os.Setenv("ADDON_PLATFORM_ADDR", "http://fake")
	defer func() {
		os.Unsetenv("ADDON_PLATFORM_ADDR")
	}()
	// fake bundle
	//bdl := New(WithAddOnPlatform())

	defer monkey.UnpatchAll()
	// path method
	var httpClient *http.Client
	monkey.PatchInstanceMethod(reflect.TypeOf(httpClient), "Do", func(_ *http.Client, req *http.Request) (*http.Response, error) {
		resp := &http.Response{
			StatusCode: http.StatusOK,
			Header:     make(http.Header, 0),
		}
		// check path
		assert.Equal(t, "/api/addon-platform/console/runtime/1377/addons/config",
			req.URL.Path)
		// check method
		assert.Equal(t, "GET", req.Method)
		// check params
		assert.Equal(t, "1", req.URL.Query().Get("project_id"))
		assert.Equal(t, "DEV", req.URL.Query().Get("env"))
		assert.Equal(t, "terminus-test", req.URL.Query().Get("az"))
		resp.Header.Set("Content-Type", "application/json")
		raw := `
{
  "success": true,
  "data": [
    {
      "name": "a1",
      "config": {
        "DEMO": "True",
        "FAKE": "true"
      }
    },
    {
      "name": "a2",
      "config": {
        "NOT_FAKE": "false"
      }
    }
  ]
}
`
		resp.Body = ioutil.NopCloser(bytes.NewReader([]byte(raw)))
		return resp, nil
	})

	// do invoke
	//configs, err := bdl.GetRuntimeAddonConfig(&apistructs.GetRuntimeAddonConfigRequest{
	//	RuntimeID:   1377,
	//	ProjectID:   1,
	//	Workspace:   "DEV",
	//	ClusterName: "terminus-test",
	//})
	//if assert.NoError(t, err) {
	//	assert.Equal(t, map[string]string{
	//		"DEMO":     "True",
	//		"FAKE":     "true",
	//		"NOT_FAKE": "false",
	//	}, configs)
	//}
}