public void HttpApplicationProbeFindExitPoint()
        {
            Type       type = this.FindTypes().First();
            MethodInfo info = HttpApplicationProbe.FindExitPoint(type);

            Assert.IsNotNull(info);
        }
        /// <summary>
        /// Finds a collection of <see cref="HttpApplication"/> types in the give collection of assemblies.
        /// </summary>
        /// <param name="assemblies">A collection of assemblies, or null to probe the current test context.</param>
        /// <returns>A collection of <see cref="HttpApplication"/> types.</returns>
        private IEnumerable <Type> FindTypes(IEnumerable <Assembly> assemblies)
        {
            IEnumerable <Type> types = HttpApplicationProbe.FindApplicationTypes(assemblies ?? this.FindAssemblies());

            Assert.IsNotNull(types);
            Assert.IsTrue(types.Any());
            return(types);
        }
        /// <summary>
        /// Finds <see cref="HttpApplication"/> assemblies in the current test context.
        /// </summary>
        /// <returns>A collection of <see cref="HttpApplication"/> assemblies.</returns>
        private IEnumerable <Assembly> FindAssemblies()
        {
            HttpApplicationProbe   probe      = new HttpApplicationProbe(HttpApplicationProbeTests.Logger, this.TestContext.TestDeploymentDir);
            IEnumerable <Assembly> assemblies = probe.FindApplicationAssemblies();

            Assert.IsNotNull(assemblies);
            Assert.IsTrue(assemblies.Any());
            return(assemblies);
        }
 /// <summary>
 /// Finds <see cref="HttpApplication"/> assemblies in the current test context.
 /// </summary>
 /// <returns>A collection of <see cref="HttpApplication"/> assemblies.</returns>
 private IEnumerable<Assembly> FindAssemblies()
 {
     HttpApplicationProbe probe = new HttpApplicationProbe(HttpApplicationProbeTests.Logger, this.TestContext.TestDeploymentDir);
     IEnumerable<Assembly> assemblies = probe.FindApplicationAssemblies();
     Assert.IsNotNull(assemblies);
     Assert.IsTrue(assemblies.Any());
     return assemblies;
 }