Entity extends Element implements EntityId { @Override public Entity emptyClone() { return new Entity(this.getGroup(), this.getVertex()); } Entity();  Entity(final String group);  Entity(final String group, final Object vertex); @JsonCreator  Entity(
            @JsonProperty("group") final String group,
            @JsonProperty("vertex") final Object vertex,
            @JsonProperty("properties") final Properties properties); @Override Object getVertex(); @Override void setVertex(final Object vertex); @Override Object getIdentifier(final IdentifierType identifierType); @Override void putIdentifier(final IdentifierType identifierType, final Object value); int hashCode(); @Override boolean equals(final Object obj); boolean equals(final Entity entity); @Override Entity emptyClone(); @Override Entity shallowClone(); @Override String toString();  }
@Test public void shouldCloneEntity() { final String vertex = "vertex1"; final Entity entity = new Entity(TestGroups.ENTITY, vertex); final Entity clone = entity.emptyClone(); assertEquals(clone, entity); }