public void SerializeDataToJson_CalledWithPersonModelCollectionParameter_CreatesJsonObjectAndGetsCallerName()
        {
            List <PersonModel> collection = new List <PersonModel>()
            {
                new PersonModel()
                {
                    Index = 1, ContentModel = new ContentModel()
                    {
                        Date = new DateTime(2019, 01, 01), Name = "FirstName", Visits = 1
                    }
                },
                new PersonModel()
                {
                    Index = 2, ContentModel = new ContentModel()
                    {
                        Date = new DateTime(2019, 02, 02), Name = "SecondName", Visits = null
                    }
                }
            };
            JArray json = new JArray();

            string result = _serializationService.SerializeToJson(collection);
            var    ex     = Record.Exception(() => json = JArray.Parse(result));

            Assert.Null(ex);
        }