public void ToStringTest() { string name = "name"; string hostname = "hostname"; ushort port = 8080; string type = "type"; Dictionary <string, string> TXTRecord = new Dictionary <string, string>() { { "key", "value" } }; SDService service = new SDService(name, hostname, port, type, TXTRecord); Assert.IsNotNull(service.ToString()); }