Example #1
0
        public void CanGetHostingEnvironment()
        {
            HostingEnvironment environment = HttpSimulatorTester.CallGetEnvironment();

            Assert.IsNotNull(environment);
            environment = HttpSimulatorTester.CallGetEnvironment();
            Assert.IsNotNull(environment);
        }
Example #2
0
 public void CanStripTrailing()
 {
     Assert.AreEqual(@"c:\blah\blah2", HttpSimulatorTester.CallStripTrailingBackSlashes(@"c:\blah\blah2\"));
 }