GetFilePathByName() public static method

Gets the input image path by name.
public static GetFilePathByName ( string name ) : string
name string The name of the image to return the path for.
return string
 public void BackgroundColorIsChanged()
 {
     using (ImageFactory imageFactory = new ImageFactory())
     {
         imageFactory.Load(ImageSources.GetFilePathByName("text.png"));
         using (Image original = imageFactory.Image.Copy())
         {
             imageFactory.BackgroundColor(Color.Yellow);
             AssertionHelpers.AssertImagesAreDifferent(
                 original,
                 imageFactory.Image,
                 "because the background color operation should have been applied on {0}",
                 imageFactory.ImagePath);
         }
     }
 }