FileDocCategorySizeDatePackage
TestWeather_Service.javaAPI DocExample480Tue Oct 09 11:03:40 BST 2001com.ecerami.test.soap

TestWeather_Service.java

package com.ecerami.test.soap;

import junit.framework.*;
import com.ecerami.soap.*;

public class TestWeather_Service extends TestCase {

     public TestWeather_Service (String name) {
         super(name);
     }

    /**
     * Tests Weather Service
     */
    public void testWeather () throws Exception {
      WeatherClient client = new WeatherClient();
      int temperature = client.getWeather("10016");
      assertEquals (65, temperature);
    }

}