NullSerialiser implements ToBytesSerialiser<Object> { @Override public boolean isConsistent() { return true; }  @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final Object value); @Override Object deserialise(final byte[] bytes); @Override Object deserialiseEmpty(); @Override boolean preservesObjectOrdering(); @Override boolean isConsistent(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void shouldBeConsistent() { assertTrue(serialiser.isConsistent()); }