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

import (
	"encoding/json"
	"testing"

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

func TestBool_UnmarshalJSON(t *testing.T) {
	type args struct {
		b []byte
	}
    
func TestBool_UnmarshalJSON(t *testing.T) {
	type args struct {
		b []byte
	}
	tests := []struct {
		name     string
		expected Boolean
		args     args
		wantErr  bool
	}{{
		name:     "true",
		expected: true,
		args: args{
			b: []byte(`true`),
		},
	}, {
		name:     "false",
		expected: false,
		args: args{
			b: []byte(`false`),
		},
	}, {
		name:     "int 1",
		expected: true,
		args: args{
			b: []byte(`1`),
		},
	}, {
		name:     "int 0",
		expected: false,
		args: args{
			b: []byte(`0`),
		},
	}, {
		name:    "error on wrong type",
		wantErr: true,
		args: args{
			b: []byte(`asdf`),
		},
	}, {
		name:    "error on wrong data",
		wantErr: true,
		args: args{
			b: []byte(`3`),
		},
	}}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			var v Boolean
			if err := json.Unmarshal(tt.args.b, &v); (err != nil) != tt.wantErr {
				t.Errorf("UnmarshalJSON() error = %v, wantErr %v", err, tt.wantErr)
			}
			massert.Equal(t, tt.expected, v)
		})
	}
}