public void ContainsURL_Test()
        {
            using (HttpSimulator httpSimulator = GetStandardSimulatedRequest())
            {
                IPageAssemblyInstruction actual = PageAssemblyInstructionFactory.GetPageAssemblyInfo("/multicancertopics");

                Object[] args            = new Object[] { "multicancertopics/page100" };
                Boolean  boolContainsUrl = (Boolean)actual.GetType().InvokeMember("ContainsURL", BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic |
                                                                                  BindingFlags.Instance | BindingFlags.InvokeMethod, null, actual, args);

                Assert.IsFalse(boolContainsUrl);
            }
        }
        public void RegisterFieldFilters_Test()
        {
            using (HttpSimulator httpSimulator = GetStandardSimulatedRequest())
            {
                PageAssemblyInstructionLoader_Accessor target = new PageAssemblyInstructionLoader_Accessor();
                HttpContext context = HttpContext.Current;
                string      url     = "/multicancertopics/page2";
                target.RewriteUrl(context, url);
                Object[] args = new Object[] { 2 };

                IPageAssemblyInstruction actual = PageAssemblyInstructionFactory.GetPageAssemblyInfo("/multicancertopics");
                actual.GetType().InvokeMember("RegisterFieldFilters", BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic |
                                              BindingFlags.Instance | BindingFlags.InvokeMethod, null, actual, args);
            }
        }
        public void GetPageSnippets_Test()
        {
            using (HttpSimulator httpSimulator = GetStandardSimulatedRequest())
            {
                PageAssemblyInstructionLoader_Accessor target = new PageAssemblyInstructionLoader_Accessor();
                HttpContext context      = HttpContext.Current;
                string      url          = "/multicancertopics/page2";
                int         snippetCount = 2;
                target.RewriteUrl(context, url);

                IPageAssemblyInstruction actual          = PageAssemblyInstructionFactory.GetPageAssemblyInfo("/multicancertopics");
                List <SnippetInfo>       boolContainsUrl = (List <SnippetInfo>)actual.GetType().InvokeMember("GetPageSnippets", BindingFlags.DeclaredOnly | BindingFlags.Public | BindingFlags.NonPublic |
                                                                                                             BindingFlags.Instance | BindingFlags.InvokeMethod, null, actual, null);

                Assert.AreEqual(snippetCount, boolContainsUrl.Count);
            }
        }