/** * Verifies that for the given {@code Coder<Collection<T>>}, and value of type {@code * Collection<T>}, encoding followed by decoding yields an equal value of type {@code * Collection<T>}, in any {@code Coder.Context}. */ public static <T, CollectionT extends Collection<T>> void coderDecodeEncodeContentsEqual( Coder<CollectionT> coder, CollectionT value) throws Exception { for (Coder.Context context : ALL_CONTEXTS) { coderDecodeEncodeContentsEqualInContext(coder, context, value); } }