public void SingleRecordValidationPassClassTest()
        {
            var record = new SingleRecordTestDataClass1(1, "TestData2", SingleRecordTestDataCategory.Category1);

            var results = DataValidator.ValidateRecord(record);

            Assert.AreEqual(results.Count(), 0);
        }
        public void SingleRecordValidationErrorClassTest()
        {
            var record = new SingleRecordTestDataClass1(0, "", SingleRecordTestDataCategory.Default);

            var results = DataValidator.ValidateRecord(record);

            // 3 = id, name, category
            Assert.AreEqual(results.Count(), 3);
            Debug.Log($"Messages: {string.Join(",", results.Select(e => e.Message))}");
        }