@Test public void toStringIsSane() throws Exception { ModulePrefs prefs = new ModulePrefs(XmlUtil.parse(FULL_XML), SPEC_URL); doAsserts(new ModulePrefs(XmlUtil.parse(prefs.toString()), SPEC_URL)); }