private static void ValidateIndex(ScriptBase Index1)
        {
            var failures = new List<ValidationFailure>();
            Assert.That(Index1.ValidateObject(failures), Is.False);
            Assert.That(failures, Has.Count(1));

            Assert.That(failures[0].Property == "Name");
        }
        private static void ValidateIndex(ScriptBase Index1)
        {
            var failures = new List <ValidationFailure>();

            Assert.That(Index1.ValidateObject(failures), Is.False);
            Assert.That(failures, Has.Count(1));

            Assert.That(failures[0].Property == "Name");
        }