@Test(expected = IllegalArgumentException.class) public void setMatch_WHEN_ExpressionDoesnNotMatchPattern_ThrowException() { final MapperConfig mapperConfig = new MapperConfig(); mapperConfig.setMatch("com.company.meter.**.yay"); }
public void setMatch(final String match) { validateMatch(match); this.match = match; }
MapperConfig { public void setMatch(final String match) { validateMatch(match); this.match = match; } }
MapperConfig { public void setMatch(final String match) { validateMatch(match); this.match = match; } MapperConfig();   MapperConfig(final String match);  MapperConfig(final String match, final String name, final Map<String, String> labels); }
MapperConfig { public void setMatch(final String match) { validateMatch(match); this.match = match; } 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 { public void setMatch(final String match) { validateMatch(match); this.match = match; } 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();  }