using System;
using Xunit;
using Xunit.Sdk;
using AutoFixture.Xunit2;
using AutoFixture;

namespace Bit.Test.Common.AutoFixture.Attributes
{
    public class InlineCustomAutoDataAttribute : CompositeDataAttribute
    {
        public InlineCustomAutoDataAttribute(Type[] iCustomizationTypes, params object[] values) : base(new DataAttribute[] {
            new InlineDataAttribute(values),
            new CustomAutoDataAttribute(iCustomizationTypes)
        })
        { }

        public InlineCustomAutoDataAttribute(ICustomization[] customizations, params object[] values) : base(new DataAttribute[] {
            new InlineDataAttribute(values),
            new CustomAutoDataAttribute(customizations)
        })
        { }
    }
}