PersistenceLabeler implements Labeler { @Override public Map<String, String> generateLabels() { return labels; } PersistenceLabeler(); @Override Map<String, String> generateLabels();  }
@Test void testGeneratedLabels() { Map<String, String> labels = new PersistenceLabeler().generateLabels(); assertThat(labels).containsEntry(PersistenceLabeler.PERSISTENCE_LABEL_PREFIX, "true"); }