public void SearchTest()
 {
     // Arrange
     HomeController controller = new HomeController();
     var friend = new srtFiles { Title = "Friends" };
     var data = new[] { friend }.AsQueryable();
     var result = controller.Search(data,"Friends");
     Assert.AreEqual(1, result.Count());
     Assert.AreEqual(friend, result.First());
 }
        public void Index()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.Index() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }