public void ListDataWithTotalToJsonTest()
        {
            var model = new ListResultWithTotal <int>()
            {
                TotalCount = 10,
                Data       = new[] { 1, 2, 3 }
            };
            var json   = model.ToJson();
            var dModel = json.JsonToObject <ListResultWithTotal <int> >();

            Assert.Equal(model.TotalCount, dModel.TotalCount);
            Assert.True(dModel.Data.SequenceEqual(model.Data));
        }