@Test
public void testAllTypesTypeMap() {

    CodeGeneratorRequest request = TestRequestLoader.getAllTypesRequest();
    TypeRegistry map = RequestInfo.withTypeRegistry(request).getTypeRegistry();
    assertEquals(10, map.typeMap.entrySet().size());
    assertEquals("protos.test.quickbuf.external.ImportMessage", map.resolveMessageType(".quickbuf_unittest_import.ImportMessage").toString());
    assertEquals("protos.test.quickbuf.external.ImportMessage.NestedImportMessage", map.resolveMessageType(".quickbuf_unittest_import.ImportMessage.NestedImportMessage").toString());
    assertEquals("protos.test.quickbuf.ForeignEnum", map.resolveMessageType(".quickbuf_unittest.ForeignEnum").toString());
}