public static <T> DequeCoder<T> of(Coder<T> elemCoder) {
    return new DequeCoder<>(elemCoder);
  }
@Test
  public void encodeDequeWithList() throws Exception {
    DequeCoder<List<Long>> listListLongCoder = DequeCoder.of(ListCoder.of(VarLongCoder.of()));

    CoderProperties.coderDecodeEncodeContentsEqual(
        listListLongCoder,
        new ArrayDeque<>(
            ImmutableList.of(
                ImmutableList.of(18L, 15L), ImmutableList.of(19L, 25L), ImmutableList.of(22L))));
  }