MonitorBuilder extends AbstractBuilder<MonitorConfig, MonitorBuilder> { public MonitorBuilder version(String version) { this.version = version; return getThis(); }  MonitorBuilder protocol(String protocol); MonitorBuilder address(String address); MonitorBuilder username(String username); MonitorBuilder password(String password); MonitorBuilder group(String group); MonitorBuilder version(String version); MonitorBuilder interval(String interval); MonitorBuilder isDefault(Boolean isDefault); MonitorBuilder appendParameter(String key, String value); MonitorBuilder appendParameters(Map<String, String> appendParameters); MonitorConfig build();  }
@Test void version() { MonitorBuilder builder = new MonitorBuilder(); builder.version("version"); Assertions.assertEquals("version", builder.build().getVersion()); }