Lost support of Fake<Document> with version 20.1

Hi Aspose team,

we’ve just updated to version 20.1 and we’ve spotted an issue with unit tests in our solution - we no longer can create fake Document object using FakeItEasy mocking library. As there were no changes to any other libraries in our system this is clearly caused by change in Document class (constructors?).

Could you please explain if this was intentional and if the support for fakes could be restored somehow? It’s not a big issue as in this case we can just use Document object, but creating real objects in unit tests is not ideal.

Please let me know if you need any more info.



To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.