public void SetsToSpecifiedIndentLevel()
            {
                // Given
                StringBuilder builder = new StringBuilder();
                OutputFile    output  = new OutputFileWriter(new StringWriter(builder));

                // When
                output.IndentLevel = 3;
                output.Indent(2);

                // Then
                Assert.AreEqual(2, output.IndentLevel);
            }
            public void ReturnsPreviousIndentLevelWhenSettingToSpecifiedIndentLevel()
            {
                // Given
                StringBuilder builder = new StringBuilder();
                OutputFile    output  = new OutputFileWriter(new StringWriter(builder));

                // When
                output.IndentLevel = 3;
                int previousIndentLevel = output.Indent(2);

                // Then
                Assert.AreEqual(3, previousIndentLevel);
            }
            public void IncrementsIndentLevel()
            {
                // Given
                StringBuilder builder = new StringBuilder();
                OutputFile    output  = new OutputFileWriter(new StringWriter(builder));

                // When
                output.IndentLevel = 3;
                output.Indent();

                // Then
                Assert.AreEqual(4, output.IndentLevel);
            }