public void ChangeCase_Symbols_AreUnchanged()
        {
            // Arrange
            var name         = "!@#$%^&*()_-=+[]\\;',.";
            var changeCaseOp = new ChangeCaseOperation();

            var expected = name;

            // Act
            string result = changeCaseOp.Rename(name, 0);

            // Assert
            Assert.AreEqual(expected, result);
        }
        public void ChangeCase_EmptyString_DoesNothing()
        {
            // Arrange
            var name         = string.Empty;
            var changeCaseOp = new ChangeCaseOperation();

            var expected = string.Empty;

            // Act
            string result = changeCaseOp.Rename(name, 0);

            // Assert
            Assert.AreEqual(expected, result);
        }
        public void ChangeCase_ValidUpperCharactersLowerered_ToLower()
        {
            // Arrange
            var name         = "THIS IS ALL UPPER";
            var changeCaseOp = new ChangeCaseOperation();

            var expected = "this is all upper";

            // Act
            string result = changeCaseOp.Rename(name, 0);

            // Assert
            Assert.AreEqual(expected, result);
        }
        public void RenameToUpper_ValidLowerCharacters_AreUppered()
        {
            // Arrange
            var name         = "this is all lower";
            var changeCaseOp = new ChangeCaseOperation();

            changeCaseOp.ToUpper = true;

            var expected = "THIS IS ALL LOWER";

            // Act
            string result = changeCaseOp.Rename(name, 0);

            // Assert
            Assert.AreEqual(expected, result);
        }