@Override
  public TypeDescriptor<KV<K, V>> getEncodedTypeDescriptor() {
    return new TypeDescriptor<KV<K, V>>() {}.where(
            new TypeParameter<K>() {}, keyCoder.getEncodedTypeDescriptor())
        .where(new TypeParameter<V>() {}, valueCoder.getEncodedTypeDescriptor());
  }
@Test
  public void testEncodedTypeDescriptor() throws Exception {
    TypeDescriptor<KV<String, Integer>> typeDescriptor =
        new TypeDescriptor<KV<String, Integer>>() {};
    assertThat(TEST_CODER.getEncodedTypeDescriptor(), equalTo(typeDescriptor));
  }