DeploymentRealizer implements ConfigurationRealizer<Deployment, DeploymentInfo> { @VisibleForTesting String getDateString(long milliseconds) { return Instant.ofEpochMilli(milliseconds).toString(); }  @Override RealizationResult create(Deployment config, InternalCache cache); @Override DeploymentInfo get(Deployment config, InternalCache cache); @Override boolean exists(Deployment config, InternalCache cache); @Override RealizationResult update(Deployment config, InternalCache cache); @Override RealizationResult delete(Deployment config, InternalCache cache);  }
@Test public void getDateString() { assertThat(realizer.getDateString(1576029093330L)).isEqualTo("2019-12-11T01:51:33.330Z"); }