@Test
public void testRawXmlValue() throws Exception {

  StyledString.Builder builder = StyledString.newBuilder();
  TextFormat.merge(STYLED_STRING_PROTO, ExtensionRegistry.getEmptyRegistry(), builder);
  StyledString styledString = builder.build();
  assertEquals(STYLED_STRING_XML, ProtoStyledStringDecoder.getRawXmlValue(styledString));
}