### Question:
DOTranslationUtility implements Constants { public String normalizeInlineXML(String xml, int transContext) { if (transContext == AS_IS) { return xml; } if (transContext == DOTranslationUtility.DESERIALIZE_INSTANCE) { return makeAbsoluteURLs(xml); } else if (transContext == DOTranslationUtility.SERIALIZE_EXPORT_PUBLIC) { return makeAbsoluteURLs(xml); } else if (transContext == DOTranslationUtility.SERIALIZE_EXPORT_MIGRATE) { return makeFedoraLocalURLs(xml); } else if (transContext == DOTranslationUtility.SERIALIZE_STORAGE_INTERNAL) { return makeFedoraLocalURLs(xml); } else if (transContext == DOTranslationUtility.SERIALIZE_EXPORT_ARCHIVE) { return makeFedoraLocalURLs(xml); } return xml; } DOTranslationUtility(Properties properties, boolean init);  DOTranslationUtility(ServerConfiguration config); static DOTranslationUtility defaultInstance(); static DOTranslationUtility defaultInstance(DOTranslationUtility instance); static void init(Server server); static DOTranslationUtility get(Server server); static void init(File serverHome); static DOTranslationUtility get(File serverHome); static void init(Properties properties); static DOTranslationUtility get(Properties properties); String makeAbsoluteURLs(String input); String makeFedoraLocalURLs(String input); Datastream normalizeDSLocationURLs(String PID,
                                                     Datastream origDS,
                                                     int transContext); String normalizeInlineXML(String xml, int transContext); static Datastream setDatastreamDefaults(Datastream ds); void normalizeDatastreams(DigitalObject obj,
            int transContext,
            String characterEncoding); @Deprecated static Disseminator setDisseminatorDefaults(Disseminator diss); static String getStateAttribute(DigitalObject obj); static String readStateAttribute(String rawValue); static RDFName getTypeAttribute(DigitalObject obj); static final int DESERIALIZE_INSTANCE; static final int SERIALIZE_EXPORT_PUBLIC; static final int SERIALIZE_EXPORT_MIGRATE; static final int SERIALIZE_STORAGE_INTERNAL; static final int SERIALIZE_EXPORT_ARCHIVE; static final int AS_IS; public Pattern m_getItemPattern; }### Answer:
@Test public void testNormalizeInlineXML() { String xml = "<foo/>"; String result = subject.normalizeInlineXML(xml, DOTranslationUtility.SERIALIZE_EXPORT_PUBLIC); assertEquals(xml, result); }