TypeValueSerialiser implements ToBytesSerialiser<TypeValue> { @Override public TypeValue deserialiseEmpty() throws SerialisationException { return null; }  @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final TypeValue typeValue); @Override TypeValue deserialise(final byte[] bytes); @Override TypeValue deserialiseEmpty(); @Override boolean preservesObjectOrdering(); @Override boolean isConsistent(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test @Override public void shouldDeserialiseEmpty() throws SerialisationException { final TypeValue value = serialiser.deserialiseEmpty(); assertNull(value); }