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: user_info_test.go
    path of file: ./repos/erda/internal/core/openapi/openapi-ng/interceptors/user-info
    
    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");

    
func Test_provider_userInfoRetriever(t *testing.T) {
	ctrl := gomock.NewController(t)
	defer ctrl.Finish()
	identitySvc := NewMockUserServiceServer(ctrl)
	identitySvc.EXPECT().FindUsers(gomock.Any(), gomock.Any()).AnyTimes().Return(&userpb.FindUsersResponse{Data: []*userpb.User{{ID: "1"}}}, nil)

	p := &provider{Identity: identitySvc}
	type args struct {
		r       *http.Request
		data    map[string]interface{}
		userIDs []string
		body    *[]byte
	}
	tests := []struct {
		name string
		args args
	}{
		{
			name: "test",
			args: args{
				r: &http.Request{
					Header: http.Header{
						httputil.UserInfoDesensitizedHeader: []string{"true"},
					},
				},
				data:    map[string]interface{}{},
				userIDs: []string{"1"},
			},
		},
		{
			name: "test",
			args: args{
				r: &http.Request{
					Header: http.Header{
						httputil.UserInfoDesensitizedHeader: []string{"false"},
					},
				},
				data:    map[string]interface{}{},
				userIDs: []string{"1"},
			},
		},
	}
	expected := []string{`"id":""`, `"id":"1"`}
	for i, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			body := p.userInfoRetriever(tt.args.r, tt.args.data, tt.args.userIDs)
			assert.NotNil(t, body)
			assert.Equal(t, true, strings.Contains(string(body), expected[i]))
		})
	}
}