public void CalculateUndirectedPath()
        {
            //TODO use Mock
            IGraphFactory factory = new GraphFactory(new GraphXmlRepository());
            var entity = factory.CreateUndirected();

            var from = entity.GraphData.Nodes.FirstOrDefault(n => n.Id == 6);   //ebay
            var to = entity.GraphData.Nodes.FirstOrDefault(n => n.Id == 2);     //intel

            var path = entity.CalculateShortestPath(from, to);

            Assert.IsNotNull(entity);
            Assert.IsNotNull(path);
            //TODO more asserts
        }
        public void CreateUndirectedGraph()
        {
            //TODO use Mock
            IGraphFactory factory = new GraphFactory(new GraphXmlRepository());

            var entity = factory.CreateUndirected();

            Assert.IsNotNull(entity);
            //TODO more asserts
        }