Exemple #1
0
        public void CanReadJSONObjectWithProperty()
        {
            var testDataKey   = "ObjectWithProperty";
            var expectedValue = new Dictionary <string, string>()
            {
                {
                    "UserName", "quinnisgreat"
                },

                {
                    "Password", "bestpassword"
                }
            };

            var testValue = jsonReader.ReadJsonObject(testDataKey);

            Assert.AreEqual(expectedValue, testValue);
        }