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: default_test.go
    path of file: ./repos/prisma-client-go/test/types/bytes
    
    the code of the file until where you have to start completion: package db

import (
	"context"
	"testing"

	"github.com/steebchen/prisma-client-go/test"
	"github.com/steebchen/prisma-client-go/test/helpers/massert"
)

type cx = context.Context
type Func func(t *testing.T, client *PrismaClient, ctx cx)

func TestBytes(t *testing.T) {
	t.Parallel()

	tests := []struct {
		name   string
		before []string
		run    Func
	}{{
		name: "bytes create",
		run: func(t *testing.T, client *PrismaClient, ctx cx) {
			a := []byte("a")
			b := []byte("b")
			created, err := client.User.CreateOne(
				User.Bytes.Set(a),
				User.BytesOpt.Set(b),
				User.ID.Set("123"),
			).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			expected := &UserModel{
				InnerUser: InnerUser{
					ID:       "123",
					Bytes:    a,
					BytesOpt: &b,
				},
			}

			massert.Equal(t, expected, created)

			actual, err := client.User.FindUnique(User.ID.Equals(created.ID)).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			massert.Equal(t, expected, actual)
		},
	}, {
		name: "bytes find by bytes field",
		run: func(t *testing.T, client *PrismaClient, ctx cx) {
			a := []byte("a")
			b := []byte("b")
			created, err := client.User.CreateOne(
				User.Bytes.Set(a),
				User.BytesOpt.Set(b),
				User.ID.Set(
    
func TestBytes(t *testing.T) {
	t.Parallel()

	tests := []struct {
		name   string
		before []string
		run    Func
	}{{
		name: "bytes create",
		run: func(t *testing.T, client *PrismaClient, ctx cx) {
			a := []byte("a")
			b := []byte("b")
			created, err := client.User.CreateOne(
				User.Bytes.Set(a),
				User.BytesOpt.Set(b),
				User.ID.Set("123"),
			).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			expected := &UserModel{
				InnerUser: InnerUser{
					ID:       "123",
					Bytes:    a,
					BytesOpt: &b,
				},
			}

			massert.Equal(t, expected, created)

			actual, err := client.User.FindUnique(User.ID.Equals(created.ID)).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			massert.Equal(t, expected, actual)
		},
	}, {
		name: "bytes find by bytes field",
		run: func(t *testing.T, client *PrismaClient, ctx cx) {
			a := []byte("a")
			b := []byte("b")
			created, err := client.User.CreateOne(
				User.Bytes.Set(a),
				User.BytesOpt.Set(b),
				User.ID.Set("123"),
			).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			expected := &UserModel{
				InnerUser: InnerUser{
					ID:       "123",
					Bytes:    a,
					BytesOpt: &b,
				},
			}

			massert.Equal(t, expected, created)

			actual, err := client.User.FindFirst(
				User.Bytes.Equals(a),
				User.BytesOpt.Equals(b),
			).Exec(ctx)
			if err != nil {
				t.Fatalf("fail %s", err)
			}

			massert.Equal(t, expected, actual)
		},
	}}
	for _, tt := range tests {
		tt := tt
		t.Run(tt.name, func(t *testing.T) {
			test.RunSerial(t, []test.Database{test.MySQL, test.PostgreSQL, test.MongoDB}, func(t *testing.T, db test.Database, ctx context.Context) {
				client := NewClient()
				mockDBName := test.Start(t, db, client.Engine, tt.before)
				defer test.End(t, db, client.Engine, mockDBName)
				tt.run(t, client, context.Background())
			})
		})
	}
}