summaryrefslogtreecommitdiffstats
path: root/SendGrid/Tests/TestJsonUtils.cs
blob: fee990d91c334cf28028e3ab825ac747732f13b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System.Text;
using NUnit.Framework;
using SendGridMail;

namespace Tests
{
    [TestFixture]
    public class TestJsonUtils
    {
        [Test]
        public void TestSerialize()
        {
            Assert.AreEqual("1", Utils.Serialize(1));
            Assert.AreEqual("\"\\\"foo\\\"\"", Utils.Serialize("\"foo\""));
        }
    }
}