@Test public void artifact() throws Exception { new Expectations() {{ project.getArtifactId(); result = "Docker....Maven.....Plugin"; }}; assertThat(formatter.format("--> %a <--"),equalTo("--> docker.maven.plugin <--")); }
@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);  }