public void TestFindNoObject()
        {
            var testFolder  = "Assets/VitDeck/Validator/Tests/ValidationTargetFinderNoObject";
            var finder      = new ValidationTargetFinder();
            var rootObjects = finder.FindRootObjects(testFolder, true);

            Assert.That(rootObjects.Length, Is.EqualTo(0));
            var allObjects = finder.FindAllObjects(testFolder, true);

            Assert.That(allObjects.Length, Is.EqualTo(0));
        }
        public void TestInvalidPath()
        {
            var finder = new ValidationTargetFinder();
            var path   = "invalidPath";

            Assert.That(finder.FindAssetPaths(path), Is.Null);
            Assert.That(finder.FindAssetGuids(path), Is.Null);
            Assert.That(finder.FindAssetObjects(path), Is.Null);
            Assert.That(finder.FindScenes(path), Is.Null);
            Assert.That(finder.FindRootObjects(path), Is.Null);
            Assert.That(finder.FindAllObjects(path), Is.Null);
        }
        public void TestFindObjects()
        {
            var testFolder = "Assets/VitDeck/Validator/Tests/ValidationTargetFinder";
            var finder     = new ValidationTargetFinder();
            var allObjects = finder.FindAllObjects(testFolder, true);

            //New Scene
            Assert.That(allObjects.Length, Is.AtLeast(4));
            Assert.That(Array.Exists(allObjects, obj => obj.name == "Cube(main)"), Is.True);
            Assert.That(Array.Exists(allObjects, obj => obj.name == "Cube(child)"), Is.True);
            Assert.That(Array.Exists(allObjects, obj => obj.name == "Capsule"), Is.True);
            Assert.That(Array.Exists(allObjects, obj => obj.name == "Audio Source"), Is.True);
        }