I have read this article: https://www.gaui.is/how-to-mock-the-datacontext-linq/
Since this article is almost 4 years old I have no hope that in article's comments my question will be answered so I decided to ask it here.
In this article author creates another
MockUnitOfWork classes and implements their own methods to match
UnitOfWork methods. but uses List instead of
If I use this approach, and in future I will change my implementation for
UnitOfWork. It means that I have to change Implementation for
It seems a bit frustarting for me. It looks like I am testing
MockUnitOfWork separately and
UnitOfWork still stays untested.
How do you think?