public void TestSimpleSelection() { IGraphClient client = new TestGraphClient(); string query = client .Where("FirstName", "test") .BuildGremlinQuery(); Assert.AreEqual("g.V().has('FirstName', 'test')", query); }
public void TestSimpleSelectionWithOut() { IGraphClient client = new TestGraphClient(); string query = client .Where("FirstName", "test") .SelectOut <Login>("has") .BuildGremlinQuery(); Assert.AreEqual("g.V().has('FirstName', 'test').out('has').hasLabel('Login')", query); }