Ejemplo n.º 1
0
        public void GetSingleGraph()
        {
            var data = new TestData {
                Id = 2, Value = "This is collection 2 data"
            };

            _orchestrate.CreateCollection("GraphTestCollection2", "2", data);
            _orchestrate.PutGraph(CollectionName, "1", "toplevelgraph", "GraphTestCollection2", "2");
            var kinds = new[] { "toplevelgraph" };

            var result = _orchestrate.GetGraph(CollectionName, "1", kinds);

            Assert.IsTrue(result.Count == 1);
        }