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: any_test.go
    path of file: ./repos/cosmos-sdk/x/tx/signing/textual
    
    the code of the file until where you have to start completion: package textual_test

import (
	"context"
	"encoding/json"
	"fmt"
	"os"
	"testing"
	"time"

	"github.com/cosmos/cosmos-proto/anyutil"
	"github.com/google/go-cmp/cmp"
	"github.com/stretchr/testify/require"
	"google.golang.org/protobuf/en
    
func TestDynamicpb(t *testing.T) {
	tr, err := textual.NewSignModeHandler(textual.SignModeOptions{
		CoinMetadataQuerier: EmptyCoinMetadataQuerier,
		TypeResolver:        &protoregistry.Types{}, // Set to empty to force using dynamicpb
	})
	require.NoError(t, err)

	testAny, err := anyutil.New(&testpb.Foo{FullName: "foobar"})
	require.NoError(t, err)

	testcases := []struct {
		name string
		msg  proto.Message
	}{
		{"coin", &basev1beta1.Coin{Denom: "stake", Amount: "1"}},
		{"nested coins", &bankv1beta1.MsgSend{Amount: []*basev1beta1.Coin{{Denom: "stake", Amount: "1"}}}},
		{"any", testAny},
		{"nested any", &testpb.A{ANY: testAny}},
		{"duration", durationpb.New(time.Hour)},
		{"timestamp", timestamppb.New(time.Now())},
	}

	for _, tc := range testcases {
		tc := tc
		t.Run(tc.name, func(t *testing.T) {
			any, err := anyutil.New(tc.msg)
			require.NoError(t, err)
			val := &testpb.A{
				ANY: any,
			}
			vr, err := tr.GetMessageValueRenderer(val.ProtoReflect().Descriptor())
			require.NoError(t, err)

			// Round trip.
			screens, err := vr.Format(context.Background(), protoreflect.ValueOf(val.ProtoReflect()))
			require.NoError(t, err)
			parsedVal, err := vr.Parse(context.Background(), screens)
			require.NoError(t, err)
			diff := cmp.Diff(val, parsedVal.Message().Interface(), protocmp.Transform())
			require.Empty(t, diff)
		})
	}
}