I recently downloaded a sample project from this thread and it worked fine.
So, I started to make some modifications, adding this simple test method to the JustMockTest1 class:
Again, everything worked like a charm.
Since I don't access a ObjectContext directly I tried to make things a little bit real world like.
Test passed. \o/
Oops! I forget to call Dispose(). Let's first try the default way to do that.
Uh-oh. An Exception was thrown at the end of using block.
Even if I call Dispose() directly (instead of using the using statement), test fails for the same reason.
Am I missing something here?
Thanks in advance.