@Test public void generatePrefixFromBuildTime() { Properties buildProperties = new Properties(); buildProperties.put("time", "1583955265"); PrefixedKeyGenerator prefixedKeyGenerator = new PrefixedKeyGenerator(null, new BuildProperties(buildProperties)); assertThat(prefixedKeyGenerator.getPrefix()).isEqualTo("1970-01-19T07:59:15.265Z"); }
String getPrefix() { return this.prefix; }
PrefixedKeyGenerator implements KeyGenerator { String getPrefix() { return this.prefix; } }
PrefixedKeyGenerator implements KeyGenerator { String getPrefix() { return this.prefix; } PrefixedKeyGenerator(GitProperties gitProperties, BuildProperties buildProperties); }
PrefixedKeyGenerator implements KeyGenerator { String getPrefix() { return this.prefix; } PrefixedKeyGenerator(GitProperties gitProperties, BuildProperties buildProperties); @Override Object generate(Object target, Method method, Object... params); }
PrefixedKeyGenerator implements KeyGenerator { String getPrefix() { return this.prefix; } PrefixedKeyGenerator(GitProperties gitProperties, BuildProperties buildProperties); @Override Object generate(Object target, Method method, Object... params);  }