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: pod_metrics_loader_test.go
    path of file: ./repos/octant/internal/octant
    
    the code of the file until where you have to start completion: /*
 * Copyright (c) 2019 VMware, Inc. All Rights Reserved.
 * SPDX-License-Identifier: Apac
    
func TestNewClusterPodMetricsLoader(t *testing.T) {
	controller := gomock.NewController(t)
	defer controller.Finish()

	clusterClient := clusterFake.NewMockClientInterface(controller)

	tests := []struct {
		name          string
		clusterClient cluster.ClientInterface
		wantErr       bool
	}{
		{
			name:          "with a cluster client",
			clusterClient: clusterClient,
		},
		{
			name:          "without a cluster client",
			clusterClient: nil,
			wantErr:       true,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			_, err := octant.NewClusterPodMetricsLoader(tt.clusterClient)
			if tt.wantErr {
				require.Error(t, err)
				return
			}
			require.NoError(t, err)
		})
	}
}