示例#1
0
        public void find_by_method_if_it_exists_2()
        {
            var candidates = new ChainSearch
            {
                TypeMode   = TypeSearchMode.Any,
                Type       = typeof(SimpleInputModel),
                MethodName = "Query"
            }.FindCandidatesByType(theGraph).SelectMany(x => x);



            candidates.Select(x => x.FirstCall().Description)
            .ShouldHaveTheSameElementsAs("OneController.Query(SimpleInputModel model) : SimpleOutputModel");
        }