import junit.framework.TestCase;
public class WSDLLocatorTest extends TestCase {
public void testGetInputSource() {
AARBasedWSDLLocator aarBasedWSDLLocator=new AARBasedWSDLLocator(null, null, null);
WarBasedWSDLLocator warBasedWSDLLocator=new WarBasedWSDLLocator(null, null, null);
InputSource inputSource=aarBasedWSDLLocator.resolveEntity(null, "http://www.test.org/test.xsd", "http://www.test.org/schema.xsd");
assertNotNull(inputSource);
assertEquals(inputSource.getSystemId(), "http://www.test.org/test.xsd");
inputSource=warBasedWSDLLocator.resolveEntity(null, "http://www.test.org/test.xsd", "http://www.test.org/schema.xsd");
assertNotNull(inputSource);
assertEquals(inputSource.getSystemId(), "http://www.test.org/test.xsd");