### Question:
MiniXmlParser { public List<HostAndPort> getAdminAddresses() { if (adminAddresses == null || adminAddresses.isEmpty()) { String[] listenerNames = getListenerNamesForVS(DEFAULT_ADMIN_VS_ID, vsAttributes); if (listenerNames == null || listenerNames.length == 0) { listenerNames = getListenerNamesForVS(DEFAULT_VS_ID, vsAttributes); } addPortsForListeners(listenerNames); } return adminAddresses; } MiniXmlParser(File domainXml);  MiniXmlParser(File domainXml, String serverName); Map<String, String> getJavaConfig(); List<String> getJvmOptions(); Map<String, String> getProfilerConfig(); List<String> getProfilerJvmOptions(); Map<String, String> getProfilerSystemProperties(); Map<String, String> getSystemProperties(); String getDomainName(); List<HostAndPort> getAdminAddresses(); void setupConfigDir(File configDir, File installDir); boolean getSecureAdminEnabled(); String getLogFilename(); boolean isMonitoringEnabled(); boolean hasNetworkConfig(); boolean hasDefaultConfig(); String getAdminRealmName(); Map<String,String> getAdminRealmProperties();  }### Answer:
@Test public void testOldSchema() throws MiniXmlParserException { final MiniXmlParser parser = new MiniXmlParser( new File(getClass().getClassLoader().getResource("olddomain.xml").getPath()), "server"); List<HostAndPort> addrs = parser.getAdminAddresses(); assertEquals(1, addrs.size()); }