public void ContainsIllegalCharactersTest()
        {
            string dirtyString = "FolderName";

            Assert.IsFalse(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder<Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder<<Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder>Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder>>Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder:Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder:Na:me";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder\"Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder\"Na\"me";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder/Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Fo/lder/Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder\\Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "\\Folder\\Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder|Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder|Name|";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder?Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "?Folder?Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder*Name";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Folder*Name*";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));

            dirtyString = "Fo\\l/der|N*ame";
            Assert.IsTrue(GenericAction.ContainsIllegalCharacters(dirtyString));
        }