ModuleBuilder extends AbstractBuilder<ModuleConfig, ModuleBuilder> { public ModuleBuilder version(String version) { this.version = version; return getThis(); }  ModuleBuilder name(String name); ModuleBuilder version(String version); ModuleBuilder owner(String owner); ModuleBuilder organization(String organization); ModuleBuilder addRegistries(List<? extends RegistryConfig> registries); ModuleBuilder addRegistry(RegistryConfig registry); ModuleBuilder monitor(MonitorConfig monitor); ModuleBuilder isDefault(Boolean isDefault); ModuleConfig build();  }
@Test void version() { ModuleBuilder builder = new ModuleBuilder(); builder.version("version"); Assertions.assertEquals("version", builder.build().getVersion()); }