private static BitmapImage GetImage(byte[] source) { return(ImageSerializer.CreateImage(source)); }
public void WillDeSerializeCorrectly() { var sourceBytes = ImageSerializer.GetImage("1.jpg"); var result = ImageSerializer.CreateImage(sourceBytes); }