Exemple #1
0
        public void exclude_methods()
        {
            source.IncludeClassesSuffixedWithController();
            source.ExcludeMethods(x => x.Name.StartsWith("Q"));

            theResultingGraph.ChainFor <OneController>(x => x.Query(null)).ShouldBeNull();
            theResultingGraph.ChainFor <OneController>(x => x.Report()).ShouldNotBeNull();
        }