public void GetEnumerationValueFilter_FromEnumValueCtorWithFiveParameters()
        {
            DisableEnumValuesAttribute attribute =
                new DisableEnumValuesAttribute(TestEnum.Value1, TestEnum.Value2, TestEnum.Value3, TestEnum.Value4, TestEnum.Value5);

            CheckConstantEnumerationValueFilter(
                attribute.GetEnumerationValueFilter(), TestEnum.Value1, TestEnum.Value2, TestEnum.Value3, TestEnum.Value4, TestEnum.Value5);
        }
        public void GetEnumerationValueFilter_FromEnumValueCtorWithArray()
        {
            DisableEnumValuesAttribute attribute = new DisableEnumValuesAttribute(new object[] { TestEnum.Value1, TestEnum.Value3 });

            CheckConstantEnumerationValueFilter(attribute.GetEnumerationValueFilter(), TestEnum.Value1, TestEnum.Value3);
        }
        public void GetEnumerationValueFilter_FromFilterTypeCtor()
        {
            DisableEnumValuesAttribute attribute = new DisableEnumValuesAttribute(typeof(StubEnumerationValueFilter));

            Assert.That(attribute.GetEnumerationValueFilter(), Is.TypeOf(typeof(StubEnumerationValueFilter)));
        }