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