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