summaryrefslogtreecommitdiffstats
path: root/SendGrid/Tests/TestUtils.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/Tests/TestUtils.cs')
-rwxr-xr-xSendGrid/Tests/TestUtils.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/SendGrid/Tests/TestUtils.cs b/SendGrid/Tests/TestUtils.cs
deleted file mode 100755
index 48febcf..0000000
--- a/SendGrid/Tests/TestUtils.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using NUnit.Framework;
-using SendGridMail;
-
-namespace Tests
-{
- [TestFixture]
- public class TestUtils
- {
- [Test]
- public void TestSerialize()
- {
- var testcase = "foo";
- String result = Utils.Serialize(testcase);
- Assert.AreEqual("\"foo\"", result);
-
- var testcase2 = 1;
- result = Utils.Serialize(testcase2);
- Assert.AreEqual("1", result);
- }
-
- [Test]
- public void TestSerializeDictionary()
- {
- var test = new Dictionary<string, string>
- {
- {"a", "b"},
- {"c", "d/e"}
- };
- var result = Utils.SerializeDictionary(test);
- var expected = "{\"a\":\"b\",\"c\":\"d\\/e\"}";
- Assert.AreEqual(expected, result);
- }
- }
-}