TestClass object1 = new TestClass();
object1.child = new TestClass();
object1.other = new AnotherClass();
object1.other.value = "meow";
TaggedFieldSerializer serializer = new TaggedFieldSerializer(kryo, TestClass.class);
serializer.removeField("text");
kryo.register(TestClass.class, serializer);
kryo.register(AnotherClass.class, new TaggedFieldSerializer(kryo, AnotherClass.class));
roundTrip(39, 55, object1);
kryo.register(TestClass.class, new TaggedFieldSerializer(kryo, TestClass.class));
Object object2 = kryo.readClassAndObject(input);
assertEquals(object1, object2);
}