public void FindOperator_should_implicitly_handle_inherited_operator_names_alternate()
        {
            var unit = new PropertyNameLookupHelper();
            var comp = PropertyTreeDefinition.FromType(typeof(AlphaList));

            // Though add is defined inside default NS, it is accessible via the NS of the type
            var qn     = QualifiedName.Create(comp.Namespace, "alpha");
            var result = unit.FindOperator(comp, typeof(AlphaList), qn);

            Assert.NotNull(result);

            qn     = QualifiedName.Create(comp.Namespace, "add");
            result = unit.FindOperator(comp, typeof(AlphaList), qn);
            Assert.NotNull(result);
        }
        public void FindOperator_should_implicitly_handle_inherited_operator_names_constructed_generics()
        {
            var unit = new PropertyNameLookupHelper();
            var comp = PropertyTreeDefinition.FromType(typeof(Collection <Control>));

            // Though add is defined inside default NS, it is accessible via the NS of the type
            var qn     = QualifiedName.Create("https://ns.example.com", "add");
            var result = unit.FindOperator(comp, typeof(Collection <Control>), qn);

            var ops = comp.EnumerateOperators();

            Assert.NotNull(result);
            Assert.Same(comp.GetOperator("add"), result);
        }