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 :)
Maybe there's something in here: https://github.com/DavidVujic/EPiServer-FakeMaker/
Did you already check it out?
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 :)