public void TestCloseAllFolds()
        {
            var data = Create(@"$+[Foo]-[Bar]");

            FoldActions.CloseAllFolds(data);
            Check(data, @"$+[Foo]+[Bar]");
        }
        public void TestClose()
        {
            var data = Create(@"$-[Foo]");

            FoldActions.CloseFold(data);
            Check(data, @"$+[Foo]");
        }
        public void TestOpenAllFolds()
        {
            var data = Create(@"$+[Foo]-[Bar]");

            FoldActions.OpenAllFolds(data);
            Check(data, @"$-[Foo]-[Bar]");
        }
        public void TestOpenFold()
        {
            var data = Create(@"$+[Foo]");

            FoldActions.OpenFold(data);
            Check(data, @"$-[Foo]");
        }