예제 #1
0
        public void Get_NullObject_ThrowsArgumentNullException()
        {
            var exception = Assert.Throws <ArgumentNullException>(
                () => _jsonNetSerializer.Get(null)
                );

            Assert.Equal <string>("value", exception.ParamName);
        }