public void DoesNothing_WhenBookmarkIsWhitespaceOrNull(string bookmark)
        {
            var mockGc = new Mock <IRawGraphClient>();

            var cfq = new CypherFluentQuery(mockGc.Object);

            cfq.WithBookmark(bookmark);
            var query = cfq.Query;

            query.Bookmarks.Should().HaveCount(0);
        }
        public void SetsBookmark_InQuery()
        {
            const string bookmarkName = "Bookmark1";
            var          mockGc       = new Mock <IRawGraphClient>();

            var cfq = new CypherFluentQuery(mockGc.Object);

            cfq.WithBookmark(bookmarkName);
            var query = cfq.Query;

            query.Bookmarks.Should().HaveCount(1);
            query.Bookmarks.SelectMany(b => b.Values).Should().Contain(bookmarkName);
        }