/// <summary>
 /// Initializes a new instance of the <see cref="DefaultDataAttribute"/> class with default customization
 /// and others to apply.
 /// </summary>
 /// <param name="defaultCustomization">The default <see cref="ICustomization"/> instance.</param>
 /// <param name="customizationTypes">Other <see cref="ICustomization"/> types to apply.</param>
 public DefaultDataAttribute(ICustomization defaultCustomization, params Type[] customizationTypes)
     : this(defaultCustomization)
 {
     this.Fixture.Customize(
         new CompositeCustomization(
             customizationTypes.Select(t =>
                 (ICustomization)Activator.CreateInstance(t, null))));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultDataAttribute"/> class with default customization.
 /// </summary>
 /// <param name="defaultCustomization">The default <see cref="ICustomization"/> instance.</param>
 public DefaultDataAttribute(ICustomization defaultCustomization)
     : base(new Fixture().Customize(defaultCustomization))
 { }
 public IFixture BuildWith(ICustomization autoFixtureCustomization)
 {
     return autoFixtureCache.GetOrAdd(autoFixtureCustomization.GetType(), type => new Fixture().Customize(autoFixtureCustomization));
 }