@Test public void toString_WHEN_EmptyConfig_AllGood() { final MapperConfig mapperConfig = new MapperConfig(); assertEquals("MapperConfig{match=null, name=null, labels={}}", mapperConfig.toString()); }
@Override public String toString() { return String.format("MapperConfig{match=%s, name=%s, labels=%s}", match, name, labels); }
MapperConfig { @Override public String toString() { return String.format("MapperConfig{match=%s, name=%s, labels=%s}", match, name, labels); } }
MapperConfig { @Override public String toString() { return String.format("MapperConfig{match=%s, name=%s, labels=%s}", match, name, labels); } MapperConfig();   MapperConfig(final String match);  MapperConfig(final String match, final String name, final Map<String, String> labels); }
MapperConfig { @Override public String toString() { return String.format("MapperConfig{match=%s, name=%s, labels=%s}", match, name, labels); } MapperConfig();   MapperConfig(final String match);  MapperConfig(final String match, final String name, final Map<String, String> labels); @Override String toString(); String getMatch(); void setMatch(final String match); String getName(); void setName(final String name); Map<String, String> getLabels(); void setLabels(final Map<String, String> labels); @Override boolean equals(final Object o); @Override int hashCode(); }
MapperConfig { @Override public String toString() { return String.format("MapperConfig{match=%s, name=%s, labels=%s}", match, name, labels); } MapperConfig();   MapperConfig(final String match);  MapperConfig(final String match, final String name, final Map<String, String> labels); @Override String toString(); String getMatch(); void setMatch(final String match); String getName(); void setName(final String name); Map<String, String> getLabels(); void setLabels(final Map<String, String> labels); @Override boolean equals(final Object o); @Override int hashCode();  }