private static void SetupQueryable() { _mockRepository.Setup(r => r.Queryable <Photo>()).Returns(Photos.AsQueryable()); _mockRepository.Setup(r => r.Queryable <Member>()).Returns(Members.AsQueryable()); _mockRepository.Setup(r => r.Queryable <Location>()).Returns(Locations.AsQueryable()); _mockRepository.Setup(r => r.Queryable <Event>()).Returns(Events.AsQueryable()); _mockRepository.Setup(r => r.Queryable <Topic>()).Returns(Topics.AsQueryable()); _mockRepository.Setup(r => r.Queryable <Story>()).Returns(Stories.AsQueryable()); }