private static void AssertExposureParameter(string expectedValue, ImageSop imageSop, ExposureParameterGetter function, string message) { Assert.AreEqual(expectedValue, function.Invoke(imageSop.Frames[1], @"{0}"), message); }