public void Json_SerializeModel_Fail()
        {
            var ser     = new JsonSerializationService();
            var recurse = new RecurseModel();

            recurse.ToInfinity = recurse;

            var result = ser.Serialize(recurse);

            Assert.IsNotNull(result);
        }
        public void Json_TrySerializeModel_Fail()
        {
            var ser     = new JsonSerializationService();
            var recurse = new RecurseModel();

            recurse.ToInfinity = recurse;

            string serializerResult;
            var    result = ser.TrySerialize(recurse, out serializerResult);

            Assert.IsFalse(result);
            Assert.IsNull(serializerResult);
        }