@Test public void invalidFormatChar() throws Exception { try { formatter.format("bla %z"); fail(); } catch (IllegalArgumentException exp) { System.out.println(exp); assertThat("Doesnt match", exp.getMessage(), containsString("%z")); } }
@Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); @Override String format(String name); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); @Override String format(String name);  }