I am doing a TDD project using EF. I want to unit test the insertion operations I make. How should I do that?
What I have in mind;
In the unit test, I can query the database if my insertion was successful.
I can depend on other methods on my business library to check back if the insertion was successful, but I think that violates the purpose of the UNIT testing.
What are your suggestions?
Or should I use a mock framework, like Moq?