// 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_DnsZonesMXRecord_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 DnsZonesMXRecord to hub returns original",
		prop.ForAll(RunResourceConversionTestForDnsZonesMXRecord, DnsZonesMXRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

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

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

	// Convert from our hub version
	var actual DnsZonesMXRecord
	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_DnsZonesMXRecord_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesMXRecord to DnsZonesMXRecord via AssignProperties_To_DnsZonesMXRecord & AssignProperties_From_DnsZonesMXRecord returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesMXRecord, DnsZonesMXRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesMXRecord tests if a specific instance of DnsZonesMXRecord can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesMXRecord(subject DnsZonesMXRecord) 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.DnsZonesMXRecord
	err := copied.AssignProperties_To_DnsZonesMXRecord(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesMXRecord
	err = actual.AssignProperties_From_DnsZonesMXRecord(&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_DnsZonesMXRecord_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 DnsZonesMXRecord via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesMXRecord, DnsZonesMXRecordGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

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

	// Deserialize back into memory
	var actual DnsZonesMXRecord
	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 DnsZonesMXRecord instances for property testing - lazily instantiated by DnsZonesMXRecordGenerator()
var dnsZonesMXRecordGenerator gopter.Gen

// DnsZonesMXRecordGenerator returns a generator of DnsZonesMXRecord instances for property testing.
func DnsZonesMXRecordGenerator() gopter.Gen {
	if dnsZonesMXRecordGenerator != nil {
		return dnsZonesMXRecordGenerator
	}

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

	return dnsZonesMXRecordGenerator
}

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

func Test_DnsZonesMXRecordOperatorSpec_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesMXRecordOperatorSpec to DnsZonesMXRecordOperatorSpec via AssignProperties_To_DnsZonesMXRecordOperatorSpec & AssignProperties_From_DnsZonesMXRecordOperatorSpec returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesMXRecordOperatorSpec, DnsZonesMXRecordOperatorSpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesMXRecordOperatorSpec tests if a specific instance of DnsZonesMXRecordOperatorSpec can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesMXRecordOperatorSpec(subject DnsZonesMXRecordOperatorSpec) 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.DnsZonesMXRecordOperatorSpec
	err := copied.AssignProperties_To_DnsZonesMXRecordOperatorSpec(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesMXRecordOperatorSpec
	err = actual.AssignProperties_From_DnsZonesMXRecordOperatorSpec(&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_DnsZonesMXRecordOperatorSpec_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 DnsZonesMXRecordOperatorSpec via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesMXRecordOperatorSpec, DnsZonesMXRecordOperatorSpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

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

	// Deserialize back into memory
	var actual DnsZonesMXRecordOperatorSpec
	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 DnsZonesMXRecordOperatorSpec instances for property testing - lazily instantiated by
// DnsZonesMXRecordOperatorSpecGenerator()
var dnsZonesMXRecordOperatorSpecGenerator gopter.Gen

// DnsZonesMXRecordOperatorSpecGenerator returns a generator of DnsZonesMXRecordOperatorSpec instances for property testing.
func DnsZonesMXRecordOperatorSpecGenerator() gopter.Gen {
	if dnsZonesMXRecordOperatorSpecGenerator != nil {
		return dnsZonesMXRecordOperatorSpecGenerator
	}

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

	return dnsZonesMXRecordOperatorSpecGenerator
}

func Test_DnsZonesMXRecord_STATUS_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesMXRecord_STATUS to DnsZonesMXRecord_STATUS via AssignProperties_To_DnsZonesMXRecord_STATUS & AssignProperties_From_DnsZonesMXRecord_STATUS returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesMXRecord_STATUS, DnsZonesMXRecord_STATUSGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesMXRecord_STATUS tests if a specific instance of DnsZonesMXRecord_STATUS can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesMXRecord_STATUS(subject DnsZonesMXRecord_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.DnsZonesMXRecord_STATUS
	err := copied.AssignProperties_To_DnsZonesMXRecord_STATUS(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesMXRecord_STATUS
	err = actual.AssignProperties_From_DnsZonesMXRecord_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_DnsZonesMXRecord_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 DnsZonesMXRecord_STATUS via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesMXRecord_STATUS, DnsZonesMXRecord_STATUSGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

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

	// Deserialize back into memory
	var actual DnsZonesMXRecord_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 DnsZonesMXRecord_STATUS instances for property testing - lazily instantiated by
// DnsZonesMXRecord_STATUSGenerator()
var dnsZonesMXRecord_STATUSGenerator gopter.Gen

// DnsZonesMXRecord_STATUSGenerator returns a generator of DnsZonesMXRecord_STATUS instances for property testing.
// We first initialize dnsZonesMXRecord_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 DnsZonesMXRecord_STATUSGenerator() gopter.Gen {
	if dnsZonesMXRecord_STATUSGenerator != nil {
		return dnsZonesMXRecord_STATUSGenerator
	}

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

	// The above call to gen.Struct() captures the map, so create a new one
	generators = make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesMXRecord_STATUS(generators)
	AddRelatedPropertyGeneratorsForDnsZonesMXRecord_STATUS(generators)
	dnsZonesMXRecord_STATUSGenerator = gen.Struct(reflect.TypeOf(DnsZonesMXRecord_STATUS{}), generators)

	return dnsZonesMXRecord_STATUSGenerator
}

// AddIndependentPropertyGeneratorsForDnsZonesMXRecord_STATUS is a factory method for creating gopter generators
func AddIndependentPropertyGeneratorsForDnsZonesMXRecord_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())
}

// AddRelatedPropertyGeneratorsForDnsZonesMXRecord_STATUS is a factory method for creating gopter generators
func AddRelatedPropertyGeneratorsForDnsZonesMXRecord_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_DnsZonesMXRecord_Spec_WhenPropertiesConverted_RoundTripsWithoutLoss(t *testing.T) {
	t.Parallel()
	parameters := gopter.DefaultTestParameters()
	parameters.MaxSize = 10
	properties := gopter.NewProperties(parameters)
	properties.Property(
		"Round trip from DnsZonesMXRecord_Spec to DnsZonesMXRecord_Spec via AssignProperties_To_DnsZonesMXRecord_Spec & AssignProperties_From_DnsZonesMXRecord_Spec returns original",
		prop.ForAll(RunPropertyAssignmentTestForDnsZonesMXRecord_Spec, DnsZonesMXRecord_SpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(false, 240, os.Stdout))
}

// RunPropertyAssignmentTestForDnsZonesMXRecord_Spec tests if a specific instance of DnsZonesMXRecord_Spec can be assigned to storage and back losslessly
func RunPropertyAssignmentTestForDnsZonesMXRecord_Spec(subject DnsZonesMXRecord_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.DnsZonesMXRecord_Spec
	err := copied.AssignProperties_To_DnsZonesMXRecord_Spec(&other)
	if err != nil {
		return err.Error()
	}

	// Use AssignPropertiesFrom() to convert back to our original type
	var actual DnsZonesMXRecord_Spec
	err = actual.AssignProperties_From_DnsZonesMXRecord_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_DnsZonesMXRecord_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 DnsZonesMXRecord_Spec via JSON returns original",
		prop.ForAll(RunJSONSerializationTestForDnsZonesMXRecord_Spec, DnsZonesMXRecord_SpecGenerator()))
	properties.TestingRun(t, gopter.NewFormatedReporter(true, 240, os.Stdout))
}

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

	// Deserialize back into memory
	var actual DnsZonesMXRecord_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 DnsZonesMXRecord_Spec instances for property testing - lazily instantiated by
// DnsZonesMXRecord_SpecGenerator()
var dnsZonesMXRecord_SpecGenerator gopter.Gen

// DnsZonesMXRecord_SpecGenerator returns a generator of DnsZonesMXRecord_Spec instances for property testing.
// We first initialize dnsZonesMXRecord_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 DnsZonesMXRecord_SpecGenerator() gopter.Gen {
	if dnsZonesMXRecord_SpecGenerator != nil {
		return dnsZonesMXRecord_SpecGenerator
	}

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

	// The above call to gen.Struct() captures the map, so create a new one
	generators = make(map[string]gopter.Gen)
	AddIndependentPropertyGeneratorsForDnsZonesMXRecord_Spec(generators)
	AddRelatedPropertyGeneratorsForDnsZonesMXRecord_Spec(generators)
	dnsZonesMXRecord_SpecGenerator = gen.Struct(reflect.TypeOf(DnsZonesMXRecord_Spec{}), generators)

	return dnsZonesMXRecord_SpecGenerator
}

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

// AddRelatedPropertyGeneratorsForDnsZonesMXRecord_Spec is a factory method for creating gopter generators
func AddRelatedPropertyGeneratorsForDnsZonesMXRecord_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(DnsZonesMXRecordOperatorSpecGenerator())
	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())
}
