public void find_candidates_by_type_fall_back_to_handler_type_if_possible() { var chains = new ChainSearch { Type = typeof(SingleActionController), TypeMode = TypeSearchMode.Any }.FindCandidatesByType(theGraph).SelectMany(x => x); chains.Each(x => Debug.WriteLine(x.FirstCall().Description)); chains.Single() .FirstCall().Description.ShouldEqual("SingleActionController.DoSomething(InputModel model) : void"); }