1 // Web service test for WSDL document:
2 // http://localhost:8080/SessionCounter.asmx?wsdl
7 using SessionCounterTests.Soap;
9 namespace Localhost.SessionCounterTests
12 public class SessionCounterTest: WebServiceTest
15 public void TestService ()
17 SessionCounter s = new SessionCounter ();
18 s.CookieContainer = new CookieContainer ();
20 for (int n=1; n<10; n++)
21 Assert.AreEqual (n, s.AddOne (), "t"+n);