@Test
public void serializeEntries() {

    List<Map.Entry<Tuple,Tuple>> entries = TEST_TUPLES.stream()
            .map(t -> new AbstractMap.SimpleImmutableEntry<>(t, t))
            .collect(Collectors.toList());
    List<Map.Entry<Tuple,Tuple>> deserializedEntries = serializer.deserializeEntries(TEST_TUPLES.get(0), serializer.serializeEntries(entries));
    assertEquals(entries, deserializedEntries);
}