TypeSubTypeValueSerialiser implements ToBytesSerialiser<TypeSubTypeValue> { @Override public TypeSubTypeValue deserialiseEmpty() { return new TypeSubTypeValue(); }  @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final TypeSubTypeValue typeSubTypeValue); @Override TypeSubTypeValue deserialise(final byte[] bytes); @Override boolean preservesObjectOrdering(); @Override boolean isConsistent(); @Override TypeSubTypeValue deserialiseEmpty(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test @Override public void shouldDeserialiseEmpty() { final TypeSubTypeValue value = SERIALISER.deserialiseEmpty(); assertEquals(new TypeSubTypeValue(), value); }