@Test public void getImports() { JSIImportsType jsiImportsTypeMock = mock(JSIImportsType.class); assertNotNull(JSInteropApiConverter.getImports(jsiImportsTypeMock)); checkAllRequiredMethodsAreCalled(JSIImportsType.class, Imports.class, jsiImportsTypeMock); }
protected static Imports getImports(JSIImportsType source) { Imports toReturn = new Imports(); if (source != null && source.getImports() != null) { final JSIWrappedImportsType imports = source.getImports(); imports.getImport().forEach(importsType -> toReturn.addImport(getImport(importsType))); } return toReturn; }
JSInteropApiConverter { protected static Imports getImports(JSIImportsType source) { Imports toReturn = new Imports(); if (source != null && source.getImports() != null) { final JSIWrappedImportsType imports = source.getImports(); imports.getImport().forEach(importsType -> toReturn.addImport(getImport(importsType))); } return toReturn; } }
JSInteropApiConverter { protected static Imports getImports(JSIImportsType source) { Imports toReturn = new Imports(); if (source != null && source.getImports() != null) { final JSIWrappedImportsType imports = source.getImports(); imports.getImport().forEach(importsType -> toReturn.addImport(getImport(importsType))); } return toReturn; } private  JSInteropApiConverter(); }
JSInteropApiConverter { protected static Imports getImports(JSIImportsType source) { Imports toReturn = new Imports(); if (source != null && source.getImports() != null) { final JSIWrappedImportsType imports = source.getImports(); imports.getImport().forEach(importsType -> toReturn.addImport(getImport(importsType))); } return toReturn; } private  JSInteropApiConverter(); static ScenarioSimulationModel getScenarioSimulationModel(JSIScenarioSimulationModelType source); }
JSInteropApiConverter { protected static Imports getImports(JSIImportsType source) { Imports toReturn = new Imports(); if (source != null && source.getImports() != null) { final JSIWrappedImportsType imports = source.getImports(); imports.getImport().forEach(importsType -> toReturn.addImport(getImport(importsType))); } return toReturn; } private  JSInteropApiConverter(); static ScenarioSimulationModel getScenarioSimulationModel(JSIScenarioSimulationModelType source);  }