GetAllPathways() public method

public GetAllPathways ( ) : Task>
return Task>
 public async void GetAllPathways_when_only_using_live_returns_only_live_pathways()
 {
     MockPathwaysConfigurationManager.Setup(m => m.UseLivePathways).Returns(true);
     _pathwayRepository = new PathwayRepository(GraphRepository, MockPathwaysConfigurationManager.Object);
     
     var liveOnlyPathways = PathwaysConfigurationManager.GetLivePathwaysElements().Select(e => e.Title);
     
     var res = await _pathwayRepository.GetAllPathways();
     Assert.AreEqual(res.Count(), Pathways.Count(p => liveOnlyPathways.Contains(p.Title)));
 }
        public async void GetAllPathways_returns_all_pathways()
        {
            MockPathwaysConfigurationManager.Setup(m => m.UseLivePathways).Returns(false);
            _pathwayRepository = new PathwayRepository(GraphRepository, MockPathwaysConfigurationManager.Object);

            var res = await _pathwayRepository.GetAllPathways();
            Assert.AreEqual(res.Count(), Pathways.Count());
        }