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: round_tripper_test.go
    path of file: ./repos/dalfox/pkg/har
    
    the code of the file until where you have to start completion: // Package har implements HAR file output support for Dalfox
package har

import (
	"net/http"
	"reflect"
	"testing"
	"time"
)

func Test_toHARNVP(t *testing.T) {
	type args struct {
		vs map[string][]string
	}
	tests := []struct {
		name string
		args args
		want []*NVP
	}
    
func Test_toHARCookies(t *testing.T) {
	type args struct {
		cookies []*http.Cookie
	}
	cookies := []*http.Cookie{
		{
			Name:     "a",
			Value:    "a",
			Path:     "/",
			Domain:   "hahwul.com",
			Expires:  time.Time{},
			HttpOnly: false,
			Secure:   false,
		},
	}

	tests := []struct {
		name string
		args args
		want int
	}{
		{
			name: "test",
			args: args{
				cookies: cookies,
			},
			want: 1,
		},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if got := len(toHARCookies(tt.args.cookies)); !reflect.DeepEqual(got, tt.want) {
				t.Errorf("toHARCookies() = %v, want %v", got, tt.want)
			}
		})
	}
}