I'm trying to figure out how to fake the custom table data similar to this.
var test = Fake<CustomTableItem, CustomTableItemProvider>();
It seems like CustomTableItem does not have a type info, so it cannot be fake. Am I doing it wrong? Is there an alternative way to fake it?
If you have custom table you need to generate code for it in Kentico admin under your particular custom table -> Code tab. This would give you a class inherited from CustomTableItem and I believe this is what you need to fake.
You can check this:
Please, sign in to be able to submit a new answer.