ElementSerialiser extends PropertiesSerialiser<Element> { @Override public Element deserialiseEmpty() throws SerialisationException { return null; } ElementSerialiser();  ElementSerialiser(final Schema schema); @Override boolean canHandle(final Class clazz); @SuppressFBWarnings(value = "BC_UNCONFIRMED_CAST", justification = "If an element is not an Entity it must be an Edge") @Override byte[] serialise(final Element element); @Override Element deserialise(final byte[] bytes); String getGroup(final byte[] bytes); @Override Element deserialiseEmpty(); @Override boolean isConsistent(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void testDeserialiseEmpty() throws SerialisationException { assertEquals(null, serialiser.deserialiseEmpty()); }