*/
private void checkRegistered(
KeyVersionRegistry registry,
RegisteredKeyVersion rkv,
FieldDescriptor fd) throws K2Exception {
Type type = rkv.getType();
assertEquals(rkv, registry.getRegistration(type));
assertTrue(registry.isRegistered(type));
assertEquals(fd, registry
.getProtoExtensions().findExtensionByName(fd.getFullName()).descriptor);
assertEquals(