@Test public void getWSDLImports() { final int quantity = 5; final ArrayList<Imports.DefaultImport> emptyDefaultImports = new ArrayList<>(); final ArrayList<Imports.WSDLImport> wsdlImports = new ArrayList<>(); for (int i = 0; i < quantity; i++) { wsdlImports.add(Imports.WSDLImport.create(LOCATION + i, NAMESPACE + i)); } final Imports imports = Imports.create(emptyDefaultImports, wsdlImports); assertEquals(quantity, imports.getWSDLImports().length, 0); for (int i = 0; i < quantity; i++) { assertEquals(LOCATION + i, imports.getWSDLImports()[i].getLocation()); assertEquals(NAMESPACE + i, imports.getWSDLImports()[i].getNamespace()); } }
@JsOverlay public final WSDLImport[] getWSDLImports() { return wsdlImports; }
Imports { @JsOverlay public final WSDLImport[] getWSDLImports() { return wsdlImports; } }
Imports { @JsOverlay public final WSDLImport[] getWSDLImports() { return wsdlImports; } private  Imports(); }
Imports { @JsOverlay public final WSDLImport[] getWSDLImports() { return wsdlImports; } private  Imports(); @JsOverlay static final Imports create(List<DefaultImport> defaultImports,
                                       List<WSDLImport> wsdlImports); @JsOverlay final String getDefaultImportsHidden(); @JsOverlay final String getWSDLImportsHidden(); @JsOverlay final String getImportsTableHidden(); @JsOverlay final String getNoImportsHidden(); @JsOverlay final Integer getTotalDefaultImports(); @JsOverlay final Integer getTotalWSDLImports(); @JsOverlay final DefaultImport[] getDefaultImports(); @JsOverlay final WSDLImport[] getWSDLImports(); }
Imports { @JsOverlay public final WSDLImport[] getWSDLImports() { return wsdlImports; } private  Imports(); @JsOverlay static final Imports create(List<DefaultImport> defaultImports,
                                       List<WSDLImport> wsdlImports); @JsOverlay final String getDefaultImportsHidden(); @JsOverlay final String getWSDLImportsHidden(); @JsOverlay final String getImportsTableHidden(); @JsOverlay final String getNoImportsHidden(); @JsOverlay final Integer getTotalDefaultImports(); @JsOverlay final Integer getTotalWSDLImports(); @JsOverlay final DefaultImport[] getDefaultImports(); @JsOverlay final WSDLImport[] getWSDLImports();  }