We would like to unittest our application that is using Spire.PDF. For example, we would like to count the number of calls to pdfPageBase.Canvas.DrawString/Rectangle/etc. There seems to be no interface we can mock (with NSubstitute).
Is there a convenient way to mock Spire.PDF objects/classes to be able to unittest our own code without building a lot of proxy classes etc, only for unittesting purposes?