public void analyzeUserRecord(HabitMonthlyRecordTestData testData)
        {
            HabitMonthlyTrace firstMonth  = new HabitMonthlyTrace();
            HabitMonthlyTrace secondMonth = new HabitMonthlyTrace();

            HabitMonthlyTrace.analyzeUserRecord(testData.RecordList, testData.BeginDate, firstMonth, secondMonth);
            Assert.Equal(testData.ExpectedFirstMonthRecordCount, firstMonth.getRecordCount());
            Assert.Equal(testData.ExpectedSecondMonthRecordCount, secondMonth.getRecordCount());
        }
        public void Deserialize(IXunitSerializationInfo info)
        {
            String val = info.GetValue <String>("Value");
            HabitMonthlyRecordTestData other = JsonSerializer.Deserialize <HabitMonthlyRecordTestData>(val);

            // CaseID = other.CaseID;
            BeginDate = other.BeginDate;
            if (other.RecordList.Count > 0)
            {
                RecordList.AddRange(other.RecordList);
            }
            ExpectedFirstMonthRecordCount  = other.ExpectedFirstMonthRecordCount;
            ExpectedSecondMonthRecordCount = other.ExpectedSecondMonthRecordCount;
        }