Infrastructure\PageActionInvokerTest.cs (31)
199var page = Assert.IsType<TestPage>(instance);
200Assert.IsType<ViewDataDictionary<TestPage>>(page.ViewContext.ViewData);
255var page = Assert.IsType<TestPage>(instance);
320Assert.IsType<TestPage>(pageResult.Page);
348var page = Assert.IsType<TestPage>(instance);
481Assert.IsType<ViewDataDictionary<TestPage>>(pageResult.ViewData);
482Assert.IsType<TestPage>(pageResult.Model);
1409var pageName = $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPage)} ({typeof(PageActionInvokerTest).Assembly.GetName().Name})";
1413: $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPage)}.{nameof(TestPage.OnGetHandler1)}";
1414var methodName = nameof(TestPage.OnGetHandler1);
1448HandlerTypeInfo = typeof(TestPage).GetTypeInfo(),
1449ModelTypeInfo = typeof(TestPage).GetTypeInfo(),
1450PageTypeInfo = typeof(TestPage).GetTypeInfo(),
1582HandlerTypeInfo = typeof(TestPage).GetTypeInfo(),
1583ModelTypeInfo = typeof(TestPage).GetTypeInfo(),
1584PageTypeInfo = typeof(TestPage).GetTypeInfo(),
1593MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler1)),
1599MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler2)),
1610HandlerTypeInfo = typeof(TestPage).GetTypeInfo(),
1612PageTypeInfo = typeof(TestPage).GetTypeInfo(),
1621MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler1)),
1627MethodInfo = typeof(TestPage).GetTypeInfo().GetMethod(nameof(TestPage.OnGetHandler2)),
1640PageTypeInfo = typeof(TestPage).GetTypeInfo(),