public static void CustomizeRecordType(this IFixture fixture) => fixture.Customize <RecordType>(composer => composer.FromFactory <int>(value => RecordType.GetAll()[value % RecordType.GetAll().Length]));
public static void CustomizeRecordType(this IFixture fixture) => fixture.Customize <RecordType>(composer => composer.FromFactory <int>(value => RecordType.GetAll()[value % RecordType.GetAll().Length]));