public void GetAllSimilarImagesForValidInput() { //Action ImageFileDetails imageObj = new ImageFileDetails(); imageObj.ApplicationStartupPath = @"D:\git-code\ImageProcessing\KantarImageProcessing\ImageVideoProcessing\bin\Debug"; imageObj.FileLength = 100000; imageObj.FilePath = @"D:\videos\bmp images\1 - Copy (2).png"; imageObj.FolderPath = @"D:\git-code\ImageProcessing\KantarImageProcessing\ImageVideoProcessing\bin\Debug"; imageObj.Message = ""; //Act List <DuplicateImage> actualResult = _grab.GetAllSimilarImages(imageObj); //Assert Assert.IsTrue(actualResult.Count != 0, "Exception Occurred in GetAllSimilarImage with valid input"); }