// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package v1api20180501

import (
	"encoding/json"
	storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20180501/storage"
	"github.com/google/go-cmp/cmp"
	"github.com/google/go-cmp/cmp/cmpopts"
	"github.com/kr/pretty"
	"github.com/kylelemons/godebug/diff"
	"github.com/leanovate/gopter"
	"github.com/leanovate/gopter/gen"
	"github.com/leanovate/gopter/prop"
	"os"
	"reflect"
	"testing"
)

func Test_DnsZonesNSRecord_WhenConvertedToHub_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	parameters.MinSuccessfulTests = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesNSRecord to hub returns original",
		prop.ForAll(RunResourceConversionTestForDnsZonesNSRecord, DnsZonesNSRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunResourceConversionTestForDnsZonesNSRecord tests if a specific instance of DnsZonesNSRecord round trips to the hub storage version and back losslessly
func RunResourceConversionTestForDnsZonesNSRecord(subject DnsZonesNSRecord) string {
	// Copy subject to make sure conversion doesn't modify it
	copied := subject.DeepCopy()

	// Convert to our hub version
	var hub storage.DnsZonesNSRecord
	err := copied.ConvertTo(&hub)
	if err != nil {
		return err.Error()
	}

	// Convert from our hub version
	var actual DnsZonesNSRecord
	err = actual.ConvertFrom(&hub)
	if err != nil {
		return err.Error()
	}

	// Compare actual with what we started with
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

func Test_DnsZonesNSRecord_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesNSRecord to DnsZonesNSRecord via AssignProperties_To_DnsZonesNSRecord & AssignProperties_From_DnsZonesNSRecord returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesNSRecord, DnsZonesNSRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesNSRecord tests if a specific instance of DnsZonesNSRecord can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesNSRecord(subject DnsZonesNSRecord) string {
	// Copy subject to make sure assignment doesn't modify it
	copied := subject.DeepCopy()

	// Use AssignPropertiesTo() for the first stage of conversion
	var other storage.DnsZonesNSRecord
	err := copied.AssignProperties_To_DnsZonesNSRecord(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesNSRecord
	err = actual.AssignProperties_From_DnsZonesNSRecord(&other)
	if err != nil {
		return err.Error()
	}

	// Check for a match
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

func Test_DnsZonesNSRecord_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MinSuccessfulTests = 20
	parameters.MaxSize = 3
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip of DnsZonesNSRecord via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesNSRecord, DnsZonesNSRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

// RunJSONSerializationTestForDnsZonesNSRecord runs a test to see if a specific instance of DnsZonesNSRecord round trips to JSON and back losslessly
func RunJSONSerializationTestForDnsZonesNSRecord(subject DnsZonesNSRecord) string {
	// Serialize to JSON
	bin, err := json.Marshal(subject)
	if err != nil {
		return err.Error()
	}

	// Deserialize back into memory
	var actual DnsZonesNSRecord
	err = json.Unmarshal(bin, &actual)
	if err != nil {
		return err.Error()
	}

	// Check for outcome
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

// Generator of DnsZonesNSRecord instances for property testing - lazily instantiated by DnsZonesNSRecordGenerator()
var dnsZonesNSRecordGenerator gopter.Gen

// DnsZonesNSRecordGenerator returns a generator of DnsZonesNSRecord instances for property testing.
func DnsZonesNSRecordGenerator() gopter.Gen {
	if dnsZonesNSRecordGenerator != nil {
		return dnsZonesNSRecordGenerator
	}

	generators := make(map[string]gopter.Gen)
	AddRelatedPropertyGeneratorsForDnsZonesNSRecord(generators)
	dnsZonesNSRecordGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecord{}), generators)

	return dnsZonesNSRecordGenerator
}

// AddRelatedPropertyGeneratorsForDnsZonesNSRecord is a factory method for creating gopter generators
func AddRelatedPropertyGeneratorsForDnsZonesNSRecord(gens map[string]gopter.Gen) {
	gens["Spec"] = DnsZonesNSRecord_SpecGenerator()
	gens["Status"] = DnsZonesNSRecord_STATUSGenerator()
}

func Test_DnsZonesNSRecordOperatorSpec_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesNSRecordOperatorSpec to DnsZonesNSRecordOperatorSpec via AssignProperties_To_DnsZonesNSRecordOperatorSpec & AssignProperties_From_DnsZonesNSRecordOperatorSpec returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesNSRecordOperatorSpec, DnsZonesNSRecordOperatorSpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesNSRecordOperatorSpec tests if a specific instance of DnsZonesNSRecordOperatorSpec can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesNSRecordOperatorSpec(subject DnsZonesNSRecordOperatorSpec) string {
	// Copy subject to make sure assignment doesn't modify it
	copied := subject.DeepCopy()

	// Use AssignPropertiesTo() for the first stage of conversion
	var other storage.DnsZonesNSRecordOperatorSpec
	err := copied.AssignProperties_To_DnsZonesNSRecordOperatorSpec(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesNSRecordOperatorSpec
	err = actual.AssignProperties_From_DnsZonesNSRecordOperatorSpec(&other)
	if err != nil {
		return err.Error()
	}

	// Check for a match
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

func Test_DnsZonesNSRecordOperatorSpec_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MinSuccessfulTests = 100
	parameters.MaxSize = 3
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip of DnsZonesNSRecordOperatorSpec via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesNSRecordOperatorSpec, DnsZonesNSRecordOperatorSpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

// RunJSONSerializationTestForDnsZonesNSRecordOperatorSpec runs a test to see if a specific instance of DnsZonesNSRecordOperatorSpec round trips to JSON and back losslessly
func RunJSONSerializationTestForDnsZonesNSRecordOperatorSpec(subject DnsZonesNSRecordOperatorSpec) string {
	// Serialize to JSON
	bin, err := json.Marshal(subject)
	if err != nil {
		return err.Error()
	}

	// Deserialize back into memory
	var actual DnsZonesNSRecordOperatorSpec
	err = json.Unmarshal(bin, &actual)
	if err != nil {
		return err.Error()
	}

	// Check for outcome
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

// Generator of DnsZonesNSRecordOperatorSpec instances for property testing - lazily instantiated by
// DnsZonesNSRecordOperatorSpecGenerator()
var dnsZonesNSRecordOperatorSpecGenerator gopter.Gen

// DnsZonesNSRecordOperatorSpecGenerator returns a generator of DnsZonesNSRecordOperatorSpec instances for property testing.
func DnsZonesNSRecordOperatorSpecGenerator() gopter.Gen {
	if dnsZonesNSRecordOperatorSpecGenerator != nil {
		return dnsZonesNSRecordOperatorSpecGenerator
	}

	generators := make(map[string]gopter.Gen)
	dnsZonesNSRecordOperatorSpecGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecordOperatorSpec{}), generators)

	return dnsZonesNSRecordOperatorSpecGenerator
}

func Test_DnsZonesNSRecord_STATUS_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesNSRecord_STATUS to DnsZonesNSRecord_STATUS via AssignProperties_To_DnsZonesNSRecord_STATUS & AssignProperties_From_DnsZonesNSRecord_STATUS returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesNSRecord_STATUS, DnsZonesNSRecord_STATUSGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesNSRecord_STATUS tests if a specific instance of DnsZonesNSRecord_STATUS can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesNSRecord_STATUS(subject DnsZonesNSRecord_STATUS) string {
	// Copy subject to make sure assignment doesn't modify it
	copied := subject.DeepCopy()

	// Use AssignPropertiesTo() for the first stage of conversion
	var other storage.DnsZonesNSRecord_STATUS
	err := copied.AssignProperties_To_DnsZonesNSRecord_STATUS(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesNSRecord_STATUS
	err = actual.AssignProperties_From_DnsZonesNSRecord_STATUS(&other)
	if err != nil {
		return err.Error()
	}

	// Check for a match
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

func Test_DnsZonesNSRecord_STATUS_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MinSuccessfulTests = 80
	parameters.MaxSize = 3
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip of DnsZonesNSRecord_STATUS via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesNSRecord_STATUS, DnsZonesNSRecord_STATUSGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

// RunJSONSerializationTestForDnsZonesNSRecord_STATUS runs a test to see if a specific instance of DnsZonesNSRecord_STATUS round trips to JSON and back losslessly
func RunJSONSerializationTestForDnsZonesNSRecord_STATUS(subject DnsZonesNSRecord_STATUS) string {
	// Serialize to JSON
	bin, err := json.Marshal(subject)
	if err != nil {
		return err.Error()
	}

	// Deserialize back into memory
	var actual DnsZonesNSRecord_STATUS
	err = json.Unmarshal(bin, &actual)
	if err != nil {
		return err.Error()
	}

	// Check for outcome
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

// Generator of DnsZonesNSRecord_STATUS instances for property testing - lazily instantiated by
// DnsZonesNSRecord_STATUSGenerator()
var dnsZonesNSRecord_STATUSGenerator gopter.Gen

// DnsZonesNSRecord_STATUSGenerator returns a generator of DnsZonesNSRecord_STATUS instances for property testing.
// We first initialize dnsZonesNSRecord_STATUSGenerator with a simplified generator based on the
// fields with primitive types then replacing it with a more complex one that also handles complex fields
// to ensure any cycles in the object graph properly terminate.
func DnsZonesNSRecord_STATUSGenerator() gopter.Gen {
	if dnsZonesNSRecord_STATUSGenerator != nil {
		return dnsZonesNSRecord_STATUSGenerator
	}

	generators := make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesNSRecord_STATUS(generators)
	dnsZonesNSRecord_STATUSGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecord_STATUS{}), generators)

	// The above call to gen.Struct() captures the map, so create a new one
	generators = make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesNSRecord_STATUS(generators)
	AddRelatedPropertyGeneratorsForDnsZonesNSRecord_STATUS(generators)
	dnsZonesNSRecord_STATUSGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecord_STATUS{}), generators)

	return dnsZonesNSRecord_STATUSGenerator
}

// AddIndependentPropertyGeneratorsForDnsZonesNSRecord_STATUS is a factory method for creating gopter generators
func AddIndependentPropertyGeneratorsForDnsZonesNSRecord_STATUS(gens map[string]gopter.Gen) {
	gens["Etag"] = gen.PtrOf(gen.AlphaString())
	gens["Fqdn"] = gen.PtrOf(gen.AlphaString())
	gens["Id"] = gen.PtrOf(gen.AlphaString())
	gens["Metadata"] = gen.MapOf(
		gen.AlphaString(),
		gen.AlphaString())
	gens["Name"] = gen.PtrOf(gen.AlphaString())
	gens["ProvisioningState"] = gen.PtrOf(gen.AlphaString())
	gens["TTL"] = gen.PtrOf(gen.Int())
	gens["Type"] = gen.PtrOf(gen.AlphaString())
}

// AddRelatedPropertyGeneratorsForDnsZonesNSRecord_STATUS is a factory method for creating gopter generators
func AddRelatedPropertyGeneratorsForDnsZonesNSRecord_STATUS(gens map[string]gopter.Gen) {
	gens["AAAARecords"] = gen.SliceOf(AaaaRecord_STATUSGenerator())
	gens["ARecords"] = gen.SliceOf(ARecord_STATUSGenerator())
	gens["CNAMERecord"] = gen.PtrOf(CnameRecord_STATUSGenerator())
	gens["CaaRecords"] = gen.SliceOf(CaaRecord_STATUSGenerator())
	gens["MXRecords"] = gen.SliceOf(MxRecord_STATUSGenerator())
	gens["NSRecords"] = gen.SliceOf(NsRecord_STATUSGenerator())
	gens["PTRRecords"] = gen.SliceOf(PtrRecord_STATUSGenerator())
	gens["SOARecord"] = gen.PtrOf(SoaRecord_STATUSGenerator())
	gens["SRVRecords"] = gen.SliceOf(SrvRecord_STATUSGenerator())
	gens["TXTRecords"] = gen.SliceOf(TxtRecord_STATUSGenerator())
	gens["TargetResource"] = gen.PtrOf(SubResource_STATUSGenerator())
}

func Test_DnsZonesNSRecord_Spec_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesNSRecord_Spec to DnsZonesNSRecord_Spec via AssignProperties_To_DnsZonesNSRecord_Spec & AssignProperties_From_DnsZonesNSRecord_Spec returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesNSRecord_Spec, DnsZonesNSRecord_SpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesNSRecord_Spec tests if a specific instance of DnsZonesNSRecord_Spec can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesNSRecord_Spec(subject DnsZonesNSRecord_Spec) string {
	// Copy subject to make sure assignment doesn't modify it
	copied := subject.DeepCopy()

	// Use AssignPropertiesTo() for the first stage of conversion
	var other storage.DnsZonesNSRecord_Spec
	err := copied.AssignProperties_To_DnsZonesNSRecord_Spec(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesNSRecord_Spec
	err = actual.AssignProperties_From_DnsZonesNSRecord_Spec(&other)
	if err != nil {
		return err.Error()
	}

	// Check for a match
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

func Test_DnsZonesNSRecord_Spec_WhenSerializedToJson_DeserializesAsEqual(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MinSuccessfulTests = 80
	parameters.MaxSize = 3
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip of DnsZonesNSRecord_Spec via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesNSRecord_Spec, DnsZonesNSRecord_SpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

// RunJSONSerializationTestForDnsZonesNSRecord_Spec runs a test to see if a specific instance of DnsZonesNSRecord_Spec round trips to JSON and back losslessly
func RunJSONSerializationTestForDnsZonesNSRecord_Spec(subject DnsZonesNSRecord_Spec) string {
	// Serialize to JSON
	bin, err := json.Marshal(subject)
	if err != nil {
		return err.Error()
	}

	// Deserialize back into memory
	var actual DnsZonesNSRecord_Spec
	err = json.Unmarshal(bin, &actual)
	if err != nil {
		return err.Error()
	}

	// Check for outcome
	match := cmp.Equal(subject, actual, cmpopts.EquateEmpty())
	if !match {
		actualFmt := pretty.Sprint(actual)
		subjectFmt := pretty.Sprint(subject)
		result := diff.Diff(subjectFmt, actualFmt)
		return result
	}

	return ""
}

// Generator of DnsZonesNSRecord_Spec instances for property testing - lazily instantiated by
// DnsZonesNSRecord_SpecGenerator()
var dnsZonesNSRecord_SpecGenerator gopter.Gen

// DnsZonesNSRecord_SpecGenerator returns a generator of DnsZonesNSRecord_Spec instances for property testing.
// We first initialize dnsZonesNSRecord_SpecGenerator with a simplified generator based on the
// fields with primitive types then replacing it with a more complex one that also handles complex fields
// to ensure any cycles in the object graph properly terminate.
func DnsZonesNSRecord_SpecGenerator() gopter.Gen {
	if dnsZonesNSRecord_SpecGenerator != nil {
		return dnsZonesNSRecord_SpecGenerator
	}

	generators := make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesNSRecord_Spec(generators)
	dnsZonesNSRecord_SpecGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecord_Spec{}), generators)

	// The above call to gen.Struct() captures the map, so create a new one
	generators = make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesNSRecord_Spec(generators)
	AddRelatedPropertyGeneratorsForDnsZonesNSRecord_Spec(generators)
	dnsZonesNSRecord_SpecGenerator = gen.Struct(reflect.TypeOf(DnsZonesNSRecord_Spec{}), generators)

	return dnsZonesNSRecord_SpecGenerator
}

// AddIndependentPropertyGeneratorsForDnsZonesNSRecord_Spec is a factory method for creating gopter generators
func AddIndependentPropertyGeneratorsForDnsZonesNSRecord_Spec(gens map[string]gopter.Gen) {
	gens["AzureName"] = gen.AlphaString()
	gens["Metadata"] = gen.MapOf(
		gen.AlphaString(),
		gen.AlphaString())
	gens["TTL"] = gen.PtrOf(gen.Int())
}

// AddRelatedPropertyGeneratorsForDnsZonesNSRecord_Spec is a factory method for creating gopter generators
func AddRelatedPropertyGeneratorsForDnsZonesNSRecord_Spec(gens map[string]gopter.Gen) {
	gens["AAAARecords"] = gen.SliceOf(AaaaRecordGenerator())
	gens["ARecords"] = gen.SliceOf(ARecordGenerator())
	gens["CNAMERecord"] = gen.PtrOf(CnameRecordGenerator())
	gens["CaaRecords"] = gen.SliceOf(CaaRecordGenerator())
	gens["MXRecords"] = gen.SliceOf(MxRecordGenerator())
	gens["NSRecords"] = gen.SliceOf(NsRecordGenerator())
	gens["OperatorSpec"] = gen.PtrOf(DnsZonesNSRecordOperatorSpecGenerator())
	gens["PTRRecords"] = gen.SliceOf(PtrRecordGenerator())
	gens["SOARecord"] = gen.PtrOf(SoaRecordGenerator())
	gens["SRVRecords"] = gen.SliceOf(SrvRecordGenerator())
	gens["TXTRecords"] = gen.SliceOf(TxtRecordGenerator())
	gens["TargetResource"] = gen.PtrOf(SubResourceGenerator())
}
