public void TestPostProcessTiff() { ImagingApi target = new ImagingApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "demo.tif"; string compression = "ccittfax3"; string resolutionUnit = "inch"; int? bitDepth = 1; bool? fromScratch = null; float? horizontalResolution = null; float? verticalResolution = null; string outPath = ""; byte[] file = System.IO.File.ReadAllBytes("\\temp\\imaging\\resources\\" + name); ResponseMessage actual; actual = target.PostProcessTiff(compression, resolutionUnit, bitDepth, fromScratch, horizontalResolution, verticalResolution, outPath, file); Assert.AreEqual(200, actual.Code); Assert.IsInstanceOfType(new ResponseMessage(), actual.GetType()); }