How to setup a mock IContentRepository to return a block on Get<IContent>?


Has anyone here set up an IContentRepository to return a block when calling Get? I would really like to see an example of how this can be done!

Since only shared blocks inherit IContent I guess what I wonder is how to mock a shared block :)

Oct 05, 2016 14:15

Maybe there's something in here:

Did you already check it out?

Oct 11, 2016 23:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.