Пример #1
0
        public static NUnitTests_Cassini_TeamMentor tmProxy_Refresh(this NUnitTests_Cassini_TeamMentor nUnitTests_Cassini)
        {
            nUnitTests_Cassini.GET("").assert_Contains("TeamMentor");     // make a request to trigger Asp.NET pipeline and TM Startup
            nUnitTests_Cassini.tmProxy = nUnitTests_Cassini.tmProxy();    // get a new reference to it
            nUnitTests_Cassini.tmProxy.map_ReferencesToTmObjects();       // map the main TM objects (which should be live after a HTTP request)

            return(nUnitTests_Cassini);
        }