/*============================================================================*/
		/* Private Functions                                                          */
		/*============================================================================*/

		private ITypeFilter CreateTypeFilter(Type[] allOf, Type[] anyOf = null, Type[] noneOf = null)
		{
			TypeMatcher matcher = new TypeMatcher();
			if (allOf != null)
				matcher.AllOf(allOf);
			if (anyOf != null)
				matcher.AnyOf(anyOf);
			if (noneOf != null)
				matcher.NoneOf(noneOf);

			return matcher.CreateTypeFilter();
		}
        public void not_supplying_allOf_causes_no_errors()
        {
            TypeFilter expectedFilter = new TypeFilter(new List <Type> {
            }, ANY_OF, NONE_OF);

            instance.AnyOf(ANY_OF.ToArray()).NoneOf(NONE_OF.ToArray());
            assertMatchesTypeFilter(expectedFilter, instance.CreateTypeFilter());
        }