public void GetImageColorsForInvalidLocalImage() { //Arrange ImageFile FileObj = new ImageFile { FileName = @":\videos\images\unitTest\blank.png" }; //Act List <Colors> actualResult = _grab.GetImageColors(FileObj); //Assert Assert.IsTrue((actualResult == null || actualResult.Count == 0), "Exception occured in geting colors from image for invalid image"); }