We have discussed how to isolate your business layer tests
by mocking out the data access layer so it is reliable and the only test what it
is supposed to. We then discussed how to actually test the data access layer,
mocking out the database and web service for most of the tests, but then
how we actually have to hit the database and web service in order for complete
You can download the full code solution using the link at
the top which contains all the tests, implementations and web service. If
you have any questions or comments, please feel free to contact me.