### Question:
EntityId { public final EntityType getEntityType() { return entity; } protected  EntityId(EntityType entity); static void ensureValidId(String propertyName, String name); static void ensureValidArtifactId(String propertyName, String name); static boolean isValidId(String name); static boolean isValidArtifactId(String name); static void ensureValidDatasetId(String propertyName, String datasetId); static boolean isValidDatasetId(String datasetId); static void ensureValidNamespace(String namespace); static boolean isValidNamespace(String namespace); static boolean isValidVersionId(String datasetId); abstract Iterable<String> toIdParts(); abstract String getEntityName(); MetadataEntity toMetadataEntity(); static T fromMetadataEntity(MetadataEntity metadataEntity); static T getSelfOrParentEntityId(MetadataEntity metadataEntity); final EntityType getEntityType(); static T fromString(String string); @Override final String toString(); @Override boolean equals(Object o); @Override int hashCode(); Iterable<EntityId> getHierarchy(); static final String IDSTRING_TYPE_SEPARATOR; static final String IDSTRING_PART_SEPARATOR; static final Pattern IDSTRING_PART_SEPARATOR_PATTERN; }### Answer:
@Test @Ignore public void printToJson() { for (EntityId id : ids) { System.out.println(id.getEntityType() + ": " + GSON.toJson(id)); } }