public void TextUtilsCreateShadow() { tlog.Debug(tag, $"TextUtilsCreateShadow START"); var testingTarget = new ShadowParameters(); Assert.IsNotNull(testingTarget, "Can't create success object ShadowParameters"); Assert.IsInstanceOf <ShadowParameters>(testingTarget, "Should be an instance of ShadowParameters type."); testingTarget.Input = new PixelBuffer(30, 50, PixelFormat.A8); testingTarget.blendShadow = true; var result = TextUtils.CreateShadow(testingTarget); Assert.IsNotNull(result, "Can't create success object PixelBuffer"); Assert.IsInstanceOf <PixelBuffer>(result, "Should be an instance of PixelBuffer type."); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsCreateShadow END (OK)"); }