@Test public void testRequiredTypeMap() { TypeRegistry map = RequestInfo.withTypeRegistry(TestRequestLoader.getRequiredRequest()).getTypeRegistry(); assertTrue(map.typeMap.size() >= 2); assertEquals("protos.test.protobuf.UnittestRequired.SimpleMessage", map.resolveMessageType(".quickbuf_unittest_import.SimpleMessage").toString()); assertEquals("protos.test.protobuf.UnittestRequired.TestAllTypesRequired", map.resolveMessageType(".quickbuf_unittest_import.TestAllTypesRequired").toString()); }
TypeName resolveMessageType(String typeId) { return checkNotNull(typeMap.get(typeId), "Unable to resolve type id: " + typeId); }
TypeRegistry { TypeName resolveMessageType(String typeId) { return checkNotNull(typeMap.get(typeId), "Unable to resolve type id: " + typeId); } }
TypeRegistry { TypeName resolveMessageType(String typeId) { return checkNotNull(typeMap.get(typeId), "Unable to resolve type id: " + typeId); } private  TypeRegistry(); }
TypeRegistry { TypeName resolveMessageType(String typeId) { return checkNotNull(typeMap.get(typeId), "Unable to resolve type id: " + typeId); } private  TypeRegistry();  }
TypeRegistry { TypeName resolveMessageType(String typeId) { return checkNotNull(typeMap.get(typeId), "Unable to resolve type id: " + typeId); } private  TypeRegistry();   }