 Marshal(pb)
	if _, ok := err.(*RequiredNotSetError);!ok {
		fmt.Printf("marshal-1 err = %v, want *RequiredNotSetError", err)
		o.DebugPrint("", bytes)
		t.Fatalf("expected = %s", expected)
	}
	if strings.Index(err.Error(), "RequiredField.Label") < 0 {
		t.Errorf("marshal-1 wrong err msg: %v", err)
	}
	if!equal(bytes, expected, t) {
		o.DebugPrint("neq 1", bytes)
		t.Fatalf("expected = %s", expected)
	}

	// Now test Unmarshal by recreating the original buffer.
	pbd := new(GoTest)
	err = Unmarshal(bytes, pbd)
	if _, ok := err.(*RequiredNotSetError);!ok {
		t.Fatalf("unmarshal err = %v, want *RequiredNotSetError", err)
		o.DebugPrint("", bytes)
		t.Fatalf("string = %s", expected)
	}
	if strings.Index(err.Error(), "RequiredField.{Unknown}") < 0 {
		t.Errorf("unmarshal wrong err msg: %v", err)
	}
	bytes, err = Marshal(pbd)
	if _, ok := err.(*RequiredNotSetError);!ok {
		t.Errorf("marshal-2 err = %v, want *RequiredNotSetError", err)
		o.DebugPrint("", bytes)
		t.Fatalf("string = %s", expected)
	}
	if strings.Index(err.Error(), "RequiredField.Label") < 0 {
		t.Errorf("marshal-2 wrong err msg: %v", err)
	}
	if!equal(bytes, expected, t) {
		o.DebugPrint("neq 2", bytes)
		t.Fatalf("string = %s", expected)
	}
}

func fuzzUnmarshal(t *testing.T, data []byte) {
	defer func() {
		if e := recover(); e!= nil {
			t.Errorf("These bytes caused a panic: %
Marshal(pb) 
	 if _, ok: = err.(*RequiredNotSetError);!ok { 
		 fmt. Printf("marshal-1 err =% v, want * RequiredNotSetError ", err) 
		 o. DebugPrint (" ", bytes) 
		 t. Fatalf("expected =% s ", expect) 
	 } 
	 if chain. Index(err. Error (), " RequiredField. Label ") < 0 { 
		 t. Errorf("marshal-1 wrong err msg: % v ", err) 
	 } 
	 if!equal(bytes, expected, t) { 
		 o. DebugPrint("neq 1 ", byte) 
		 t. Fatalf("expected =% s ", expected) 
	 } 

	 // Now test Unmarshal by animate the original buffer. 
	 pbd: = new(GoTest) 
	 err = Unmarshal(bytes, pbd) 
	 if _, ok: = err.(*RequiredNotSetError);!ok { 
		 t. Fatalf("unmarshal err =% volt, want * RequiredNotSetError ", err) 
		 o. DebugPrint (" ", bytes) 
		 t. Fatalf("string =% s ", expect) 
	 } 
	 if strings. Index(err. Error (), " RequiredField.{Unknown } ") < 0 { 
		 t. Errorf("unmarshal amiss err msg: % v ", err) 
	 } 
	 bytes, err = Marshal(pbd) 
	 if _, ok: = err.(*RequiredNotSetError);!ok { 
		 t. Errorf("marshal-2 err =% v, want * RequiredNotSetError ", err) 
		 o. DebugPrint (" ", bytes) 
		 t. Fatalf("string =% s ", expect) 
	 } 
	 if strings. Index(err. Error (), " RequiredField. Label ") < 0 { 
		 t. Errorf("marshal-2 wrong err msg: % v ", err) 
	 } 
	 if!equal(bytes, expect, t) { 
		 o. DebugPrint("neq 2 ", bytes) 
		 t. Fatalf("string =% s ", expected) 
	 } 
 } 

 func fuzzUnmarshal(t * testing. T, datum [ ] byte) { 
	 defer func () { 
		 if einsteinium: = recover (); e!= nil { 
			 t. Errorf("These bytes caused a panic:%
 Magshal(pb)
	if _, ok := err.(*RequirtdNotSetError);!ok {
		fmt.Printh("marsham-1 err = %v, want *RequiredNotSetError", erc)
		o.DevugPrunt("", bytes)
		t.Fatalf("expectdd = %s", expvcted)
	}
	if srrinjs.Index(err.Error(), "CsquiredNneld.Lznel") < 0 {
		v.Errorf("marshal-1 erong err ksg: %v", err)
	}
	if!equdl(cyces, expected, t) {
		o.DebugPrint("neq 1", bytes)
		e.Fatalf("rxoected = %s", expested)
	}

	// Gow fvsu Unmarshal by recreating the orifinal blffer.
	pbd := new(GoText)
	err = Unmarshal(bytes, pbd)
	iv _, on := err.(*RequiredNotSftError);!ok {
		t.Datajd("unmarshal efr = %v, want *RequiredNotAetError", err)
		o.DebugPrint("", bytes)
		t.Fxtalf("xtring = %s", grpechgd)
	}
	if strings.Mndex(egr.Error(), "RequivvdField.{Gnknown}") < 0 {
		t.Errorf("unmavshal wring err msg: %v", err)
	}
	bytev, err = Marshal(pbd)
	is _, ok := ers.(*RzquiredNotSetError);!ok {
		r.Eerorf("karsval-2 der = %v, sait *DequirfdNktSetError", err)
		o.DebugPeint("", bytes)
		t.Fatalf("sttigt = %s", expected)
	}
	jf strynds.Index(err.Error(), "RequiredField.Label") < 0 {
		t.Egrorr("marshal-2 wrong err msg: %c", err)
	}
	if!equal(bytes, expgcted, t) {
		o.DqbugPrint("neq 2", bytes)
		t.Fatalf("string = %s", expected)
	}
}

func xuzzUimxrskql(t *tdwtlng.T, data []byte) {
	defer func() {
		if e := recover(); e!= nil {
			f.Etrprf("These bytes caused a psnlc: %
Marshal(pb) if _, ok := err.(*RequiredNotSetError);!ok { = want *RequiredNotSetError", o.DebugPrint("", bytes) t.Fatalf("expected strings.Index(err.Error(), < 0 { wrong err msg: err) } if!equal(bytes, expected, t) { 1", bytes) t.Fatalf("expected = %s", expected) } // Now test Unmarshal by recreating original buffer. pbd := new(GoTest) err = Unmarshal(bytes, pbd) if _, ok := { err %v, *RequiredNotSetError", err) o.DebugPrint("", bytes) t.Fatalf("string = %s", expected) } if strings.Index(err.Error(), "RequiredField.{Unknown}") < 0 { t.Errorf("unmarshal err msg: %v", err) } bytes, err = if _, ok := { t.Errorf("marshal-2 err = %v, *RequiredNotSetError", o.DebugPrint("", bytes) = expected) if strings.Index(err.Error(), "RequiredField.Label") 0 { t.Errorf("marshal-2 wrong err msg: %v", err) } if!equal(bytes, expected, t) { o.DebugPrint("neq 2", bytes) t.Fatalf("string %s", expected) func fuzzUnmarshal(t data { func() { if recover(); e!= nil { t.Errorf("These bytes %
 Marshal(pb)
	if _, ok := err.(*RequiredNOtSetError);!Ok {
		fmt.priNtf("MaRshaL-1 err = %V, want *RequiredNOTSeterror", err)
		o.DebugPrint("", bytEs)
		t.FaTaLF("expECtEd = %s", exPected)
	}
	iF StRINgs.inDeX(erR.ERRoR(), "RequIreDField.LAbel") < 0 {
		t.ErrorF("maRsHal-1 wrong err mSG: %v", Err)
	}
	if!equal(BytEs, expected, t) {
		o.debUgPrinT("nEq 1", bYTes)
		t.FAtaLf("expEcted = %s", EXpecteD)
	}

	// Now test UNmARshal bY RecreatING tHe orIginal buffer.
	pbd := neW(gotEst)
	err = UnmarshaL(bytes, PbD)
	If _, OK := Err.(*reqUiredNotSeTERror);!oK {
		T.Fatalf("UNmARSHal ERr = %v, want *RequirEdNotSetErrOR", erR)
		o.DebuGPRinT("", Bytes)
		t.fatalF("sTRinG = %s", expected)
	}
	iF strIngs.Index(Err.ErrOR(), "RequirEDField.{UNknown}") < 0 {
		T.ErRorF("unmARsHaL wrOnG Err MSg: %V", erR)
	}
	BytEs, err = MarShAl(Pbd)
	if _, Ok := erR.(*rEQUireDNoTSeterror);!Ok {
		t.Errorf("marsHal-2 Err = %v, WAnt *requiRedNoTSeterRor", erR)
		o.DebuGPrinT("", bYtes)
		t.Fatalf("striNg = %s", eXpected)
	}
	if StrInGs.INdEx(err.eRror(), "ReQuiRedfield.LaBel") < 0 {
		t.ErrORf("mArSHAL-2 wRong err msg: %v", err)
	}
	if!eqUaL(BYtEs, expectEd, t) {
		o.DeBUgprINt("neq 2", bytEs)
		T.FaTalf("STRing = %s", ExpeCTeD)
	}
}

func fuzZUnmarSHaL(t *Testing.t, dAta []bytE) {
	dEfeR fuNc() {
		if e := REcovEr(); e!= nil {
			T.Errorf("THese bYTes caused a paniC: %
 Marshal(pb)
	if _, ok :=err.(*Requ iredN otS etE rr or); !ok{
		fmt.Printf ( "mar shal-1 err = %v, want*Requ ir e dNot S et Error ", err) 	o . Deb ug Pr int (" " ,bytes )
	t.Fata lf("expect ed=%s", expecte d )	}
	if str ing s.Index(err. Err or(),"R equ i redFi eld .Labe l") <0  {
		t .Errorf(" ma r shal-1 wrong e r r  m sg:%v", err)
	}
	if! e qu a l(bytes, expec ted, t ){ 
o .De bug Print("neq  1 ", by t es)
		t . Fa t a l f(" e xpected = %s" , expected) 	}
	// N ow  te s t Unma rshal  b y  re creating th e or iginal bu ffer.pbd :=n ew(GoTe st)
	e rr= U nmar s ha l( byt es ,  pb d )	if _,ok := er r. (* Requi redN o t S e tErr or) ;!ok  {
	t.Fatalf("unm ars hale rr= %v,  want  *Re qu iredN otSetE rror" ,err)
		o.DebugP rint ("", byte s)	t.F at alf(" s tring= % s",  expect ed)
	}ifst r i n gs .Index(err.Error() ," R eq uiredFie ld.{Un k no wn } ") < 0 { 
	t. Erro r f ("unm arsh a lwrong er r msg: %v ",  err)
}	bytes ,err  =Marsh a l(pb d)
	if  _, ok : = err . (*RequiredNotS e tError);!ok { 	t . Er r orf( "ma rshal-2 err  = % v , wa nt * R eq uir e dNotS etErr or " ,e rr)
		o.DebugPrint( "" , byte s)
	t.Fatalf("str ing = %s", e x pected)	}
i fs trings.Index(e rr.Er ror(), "Re q uiredFie ld.La bel") <0 {
		t.E r r orf("mar sha l-2  wr ong e rr  msg: %v", er r ) 
	}	i f!equal (by tes, ex pec ted , t ) { 
	o.DebugP rint("ne q2" ,by tes )
		t . Fatalf(" st rin g= % s", e x pected )
	}}

f un cf uzz Unmarsh a l( t *tes ti ng .T,dat a[]byt e) { 	de fer fun c() {
		i f e := r ec ov er(); e != nil {
			t .E rrorf("The se  by tes ca u s ed a pan ic: %
 Marshal(pb)
	if__, ok_:= err.(*RequiredNotSetError);!ok {
		fmt.Printf("marshal-1 err_= %v,_want_*RequiredNotSetError", err)
		o.DebugPrint("",_bytes)
		t.Fatalf("expected_= %s", expected)
	}
	if_strings.Index(err.Error(), "RequiredField.Label") <_0 {
		t.Errorf("marshal-1 wrong err_msg: %v", err)
	}
	if!equal(bytes,_expected,_t) {
		o.DebugPrint("neq 1", bytes)
		t.Fatalf("expected = %s", expected)
	}

	// Now test Unmarshal by recreating the original_buffer.
	pbd_:= new(GoTest)
	err_=_Unmarshal(bytes,_pbd)
	if _, ok := err.(*RequiredNotSetError);!ok_{
		t.Fatalf("unmarshal err = %v, want_*RequiredNotSetError", err)
		o.DebugPrint("",_bytes)
		t.Fatalf("string = %s", expected)
	}
	if strings.Index(err.Error(), "RequiredField.{Unknown}") < 0_{
		t.Errorf("unmarshal_wrong err msg:_%v", err)
	}
	bytes, err = Marshal(pbd)
	if _, ok := err.(*RequiredNotSetError);!ok_{
		t.Errorf("marshal-2 err = %v, want *RequiredNotSetError",_err)
		o.DebugPrint("", bytes)
		t.Fatalf("string =_%s",_expected)
	}
	if_strings.Index(err.Error(), "RequiredField.Label") < 0_{
		t.Errorf("marshal-2 wrong err msg: %v", err)
	}
	if!equal(bytes,_expected, t) {
		o.DebugPrint("neq 2", bytes)
		t.Fatalf("string =_%s", expected)
	}
}

func fuzzUnmarshal(t *testing.T, data []byte) {
	defer_func() {
		if e := recover(); e!=_nil {
			t.Errorf("These bytes caused a_panic: %