public void RuleShouldAllowHeaderToBeEncasedInRegion()
        {
            StringBuilder header = new StringBuilder();

            header.Append("#region Header");
            header.Append("\n// Content\n");
            header.Append("#endregion");

            IList <StatementBase> statements = new List <StatementBase>();

            statements.Add(StatementCreator.CreateRegionStartStatement("#region Header"));
            statements.Add(StatementCreator.CreateLineCommentStatement("\n// Content\n"));
            statements.Add(StatementCreator.CreateRegionEndStatement("#endregion"));

            FileBlock block = new FileBlock(statements);

            FileBlockStartsWithHeaderRule rule = new FileBlockStartsWithHeaderRule(header.ToString());

            Assert.IsTrue(rule.IsValidFor(block));
        }