Ejemplo n.º 1
0
        public void TestToData()
        {
            var testSubject = new NetUri
            {
                Value      = "http://localhost:8840/somewhere",
                Descriptor = KindsOfLabels.Business | KindsOfLabels.Work,
                Name       = "SocalMedia"
            };
            var testResult = testSubject.ToData(KindsOfTextCase.Kabab);

            Assert.IsNotNull(testResult);
            Assert.AreNotEqual(0, testResult.Count);
            foreach (var k in testResult.Keys)
            {
                Console.WriteLine($"{k}: {testResult[k]}");
            }
        }