private IViewsForActionFilter filterMatching(params int[] indices) { var filter = new StubViewsForActionFilter(views(indices)); theAttacher.AddFilter(filter); return(filter); }
/// <summary> /// views are matched to actions based on same namespace and the Action's underlying method name /// </summary> public void by_ViewModel_and_Namespace_and_MethodName() { _attacher.AddFilter(new ActionWithSameNameAndFolderAsViewReturnsViewModelType()); }