public void ExtractENUMServersTest() { SIPDialplanOption options = new SIPDialplanOption() { ENUMServers = "e164.org\r\n\r\ne164.info\r\n\r\ne164.arpa\r\n\r\ne164.televolution.net\r\n\r\nenum.org\r\n\r\n" }; DialPlanSettings settings = new DialPlanSettings(null, null, null, options); List<string> enumServersList = settings.GetENUMServers(); Assert.AreEqual(5, enumServersList.Count, "The number of ENUM servers extracted from the list was incorrect."); Assert.AreEqual("e164.org", enumServersList[0], "The ENUM server at index 0 was not extracted correctly."); Assert.AreEqual("enum.org", enumServersList[4], "The ENUM server at index 4 was not extracted correctly."); }