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: cosmosdb.go
    path of file: ./repos/terratest/modules/azure
    
    the code of the file until where you have to start completion: package azure

import (
	"context"

	"github.com/Azure/azure-sdk-for-go/profiles/preview/cosmos-db/mgmt/documentdb"
	"github.com/gruntwork-io/terratest/modules/testing"
	"github.com/stretchr/testify/require"
)

// GetCosmosDBAccountClientE is a helper function that will setup a CosmosDB account client.
func GetCosmosDBAccountClientE(subscriptionID string) (*documentdb.DatabaseAccountsClient, error) {

	// Create a CosmosDB client
	cosmosClient, er
    
func GetCosmosDBAccountE(t testing.TestingT, subscriptionID string, resourceGroupName string, accountName string) (*documentdb.DatabaseAccountGetResults, error) {
	// Create a CosmosDB client
	cosmosClient, err := GetCosmosDBAccountClientE(subscriptionID)
	if err != nil {
		return nil, err
	}

	// Get the corresponding database account
	cosmosDBAccount, err := cosmosClient.Get(context.Background(), resourceGroupName, accountName)
	if err != nil {
		return nil, err
	}

	//Return DB
	return &cosmosDBAccount, nil
}