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: azurearm_test.go
    path of file: ./repos/trivy/pkg/fanal/analyzer/config/azurearm
    
    the code of the file until where you have to start completion: package azurearm

import (
	"testing"

	"github.com/stretchr/testify/assert"
	"github.com/stretchr/testify/require"

	"github.com/aquasecurity/trivy/pkg/fanal/analyzer"
)

func Test_azureARMConfigAnalyzer_Required(t *testing.T) {
	tests := []struct {
		name     string
		filePath string
    
func Test_azureARMConfigAnalyzer_Required(t *testing.T) {
	tests := []struct {
		name     string
		filePath string
		want     bool
	}{
		{
			name:     "json",
			filePath: "test.json",
			want:     true,
		},
		{
			name:     "yaml",
			filePath: "test.yaml",
			want:     false,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			a, err := newAzureARMConfigAnalyzer(analyzer.AnalyzerOptions{})
			require.NoError(t, err)
			assert.Equal(t, tt.want, a.Required(tt.filePath, nil))
		})
	}
}