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: preset_test.go
    path of file: ./repos/gnomock/preset/azurite
    
    the code of the file until where you have to start completion: package azurite_test

import (
	"context"
	"fmt"
	"testing"

	"github.com/Azure/azure-sdk-for-go/sdk/storage/azblob"
	"github.com/orlangure/gnomock/preset/azurite"
	"github.com/stretchr/testify/require"

	"github.com/orlang
    
func ExamplePreset() {
	p := azurite.Preset(
		azurite.WithVersion(azurite.DefaultVersion),
	)

	c, startErr := gnomock.Start(p)
	if startErr != nil {
		fmt.Println("Starting azurite gnomock failed ", startErr)
		return
	}

	defer func() { _ = gnomock.Stop(c) }()

	connString := fmt.Sprintf(
		azurite.ConnectionStringFormat,
		azurite.AccountName,
		azurite.AccountKey,
		c.Address(azurite.BlobServicePort),
		azurite.AccountName)
	ctx := context.Background()

	azblobClient, connectError := azblob.NewClientFromConnectionString(connString, nil)
	if connectError != nil {
		fmt.Println("Connecting to azurite failed ", connectError)
		return
	}

	containerName := "foo"

	_, createContainerError := azblobClient.CreateContainer(ctx, containerName, nil)
	if createContainerError != nil {
		fmt.Println("Creating azure container failed ", createContainerError)
		return
	}

	pages := 0

	pager := azblobClient.NewListBlobsFlatPager(containerName, nil)
	for pager.More() {
		resp, _ := pager.NextPage(context.Background())
		fmt.Println("keys before:", len(resp.Segment.BlobItems))
		pages++
	}
	fmt.Println("pages before:", pages)

	blobName := "bar"
	_, _ = azblobClient.UploadBuffer(ctx, containerName, blobName, []byte{15, 16, 17}, nil)

	pages = 0

	pager = azblobClient.NewListBlobsFlatPager(containerName, nil)
	for pager.More() {
		resp, _ := pager.NextPage(context.Background())

		fmt.Println("keys after:", len(resp.Segment.BlobItems))

		for _, v := range resp.Segment.BlobItems {
			fmt.Println("filename:", *v.Name)
		}
		pages++
	}
	fmt.Println("pages after:", 1)

	// Output:
	// keys before: 0
	// pages before: 1
	// keys after: 1
	// filename: bar
	// pages after: 1
}