EntityIdSerialiser implements ToBytesSerialiser<EntityId> { @Override public boolean preservesObjectOrdering() { return null != vertexSerialiser && vertexSerialiser.preservesObjectOrdering(); } EntityIdSerialiser();  EntityIdSerialiser(final Schema schema);  EntityIdSerialiser(final ToBytesSerialiser vertexSerialiser); @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final EntityId entityId); byte[] serialiseVertex(final Object vertex); @Override EntityId deserialise(final byte[] bytes); @Override EntityId deserialiseEmpty(); @Override boolean preservesObjectOrdering(); @Override boolean isConsistent(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void testPreserveObjectOrdering() throws SerialisationException { assertEquals(true, serialiser.preservesObjectOrdering()); }