@Test public void testDecodeEncodeContentsEqual() throws Exception { Coder<Set<Integer>> coder = SetCoder.of(VarIntCoder.of()); for (Set<Integer> value : TEST_VALUES) { CoderProperties.coderDecodeEncodeContentsEqual(coder, value); } }
@Test public void testDecodeEncodeEqual() throws Exception { Coder<Integer> coder = VarIntCoder.of(); for (Integer value : TEST_VALUES) { CoderProperties.coderDecodeEncodeEqual(coder, value); } }
@Test public void testEncodingId() throws Exception { CoderProperties.coderHasEncodingId(TEST_CODER, EXPECTED_ENCODING_ID); }
@Test public void testDecodeEncodeContentsEqual() throws Exception { for (Set<Integer> value : TEST_VALUES) { CoderProperties.coderDecodeEncodeContentsEqual(TEST_CODER, value); } }