### Question:
GenericExporter { public void export(Package... packages) { String[] pkgs = new String[packages.length]; for (int i = 0; i < packages.length; i++) { pkgs[i] = packages[i].getName(); } export(pkgs); } GenericExporter(ClassLoader classLoader, Charset charset);  GenericExporter(ClassLoader classLoader);  GenericExporter(Charset charset);  GenericExporter(); void export(Package... packages); void export(String... packages); void export(Class<?>...classes); Set<File> getGeneratedFiles(); void setEntityAnnotation(Class<? extends Annotation> entityAnnotation); void setSupertypeAnnotation(
            Class<? extends Annotation> supertypeAnnotation); void setEmbeddableAnnotation(
            Class<? extends Annotation> embeddableAnnotation); void setEmbeddedAnnotation(Class<? extends Annotation> embeddedAnnotation); void setSkipAnnotation(Class<? extends Annotation> skipAnnotation); void setTargetFolder(File targetFolder); void setSerializerClass(Class<? extends Serializer> serializerClass); void setTypeMappingsClass(Class<? extends TypeMappings> typeMappingsClass); void setCreateScalaSources(boolean createScalaSources); void setKeywords(Collection<String> keywords); void setNamePrefix(String prefix); void setNameSuffix(String suffix); void setPackageSuffix(String suffix); @Deprecated void setHandleFields(boolean b); @Deprecated void setHandleMethods(boolean b); void setPropertyHandling(PropertyHandling propertyHandling); void setUseFieldTypes(boolean b); void addStopClass(Class<?> cl); void setStrictMode(boolean s); void setSerializerConfig(SerializerConfig serializerConfig); void addAnnotationHelper(AnnotationHelper annotationHelper);  }### Answer:
@Test public void export() { exporter.setTargetFolder(folder.getRoot()); exporter.export(getClass().getPackage()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/QExampleEmbeddable.java").exists()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/QExampleEmbedded.java").exists()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/QExampleEntity.java").exists()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/QExampleEntityInterface.java").exists()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/QExampleSupertype.java").exists()); assertTrue(new File(folder.getRoot(), "com/querydsl/codegen/sub/QExampleEntity2.java").exists()); }