@Test
public void shouldHandleNestedCollection() {

  Codec<Set<List<Double>>> setListDoubleCodec =
      mapper.codecFor(new RawSet(new RawList(primitive(DOUBLE))));
  Codec<Set<List<Double>>> setListDoubleCodec2 =
      mapper.codecFor(new RawSet(new RawList(primitive(DOUBLE))));
  assertThat(setListDoubleCodec).isSameAs(setListDoubleCodec2);
  Set<List<Double>> s = new LinkedHashSet<>();
  List<Double> l0 = Collections.singletonList(8675.09);
  List<Double> l1 = new ArrayList<>();
  l1.add(86.75);
  l1.add(30.9);
  s.add(l0);
  s.add(l1);
  encodeAndDecode(
      setListDoubleCodec,
      s,
      "0x0000000200000010000000010000000840c0f18b851eb8520000001c00000002000000084055b0000000000000000008403ee66666666666");
}