EntitySerialiser extends PropertiesSerialiser<Entity> { @Override public Entity deserialiseEmpty() throws SerialisationException { return null; } EntitySerialiser();  EntitySerialiser(final Schema schema); @Override void updateSchema(final Schema schema); @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final Entity entity); @Override Entity deserialise(final byte[] bytes); @Override Entity deserialiseEmpty(); @Override boolean isConsistent();  }
@Test public void testDeserialiseEmpty() throws SerialisationException { assertEquals(null, serialiser.deserialiseEmpty()); }