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