### Question:
Imports { @JsOverlay public final DefaultImport[] getDefaultImports() { return defaultImports; } 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();  }### Answer:
@Test public void getDefaultImports() { final int quantity = 5; final ArrayList<Imports.WSDLImport> emptyWSDLImports = new ArrayList<>(); final ArrayList<Imports.DefaultImport> defaultImports = new ArrayList<>(); for (int i = 0; i < quantity; i++) { defaultImports.add(Imports.DefaultImport.create(CLASS_NAME + i)); } final Imports imports = Imports.create(defaultImports, emptyWSDLImports); assertEquals(quantity, imports.getDefaultImports().length, 0); for (int i = 0; i < quantity; i++) { assertEquals(CLASS_NAME + i, imports.getDefaultImports()[i].getClassName()); } }