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: endpoints_test.go
    path of file: ./repos/dapr/pkg/api/grpc
    
    the code of the file until where you have to start completion: /*
Copyright 2021 The Dapr Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

//nolint:nosnakecase
package grpc

import (
	"
    
func TestEndpointCompleteness(t *testing.T) {
	// Get the list of endpoints in the runtime
	runtimeEndpoints := []string{}
	prefix := "/" + runtimev1pb.Dapr_ServiceDesc.ServiceName + "/"
	for _, m := range runtimev1pb.Dapr_ServiceDesc.Methods {
		runtimeEndpoints = append(runtimeEndpoints, prefix+m.MethodName)
	}
	for _, m := range runtimev1pb.Dapr_ServiceDesc.Streams {
		runtimeEndpoints = append(runtimeEndpoints, prefix+m.StreamName)
	}
	sort.Strings(runtimeEndpoints)

	// Get the list of endpoints in this package (regardless of group)
	packageEndpoints := []string{}
	for _, g := range endpoints {
		packageEndpoints = append(packageEndpoints, g...)
	}
	sort.Strings(packageEndpoints)

	assert.Equal(t, runtimeEndpoints, packageEndpoints, "the list of endpoints defined in this package does not match the endpoints defined in the %s gRPC service", runtimev1pb.Dapr_ServiceDesc.ServiceName)
}