public void SetUp() { token = new FakeViewToken { ViewName = "AAction", Namespace = GetType().Namespace, ViewModel = typeof(ViewModel1) }; var views = new List <IViewToken> { token }; bag = new ViewBag(views); filter = new ActionWithSameNameAndFolderAsViewReturnsViewModelType(); }
public void SetUp() { token = new FakeViewToken { ViewName = "AAction", Namespace = GetType().Namespace, ViewModel = typeof (ViewModel1) }; var views = new List<IViewToken> { token }; bag = new ViewBag(views); filter = new ActionWithSameNameAndFolderAsViewReturnsViewModelType(); }