Created a custom module with a module class. And enabled staging feature. (https://docs.xperience.io/k12sp/custom-development/creating-custom-modules).
And I need to write a test case (Unit Test) for the staging task synchronization of the module class items.
Can we do that with faking Info and Provider objects? Can help to provide an example code?
The documentation on Unit Testing in Kentico 12 is probably your best resource here.
Please, sign in to be able to submit a new answer.