public void LetTest() { AQuery query = _db.Query .Let("x", AValue.Document <Dummy>(TestDocumentCollectionName, AValue.Field <string>("asd"))); Assert.AreEqual("LET x = DOCUMENT('" + TestDocumentCollectionName + "',asd)", query.GetExpression()); }