Mocking is a great technique for isolating code that you want to test. By mocking the interfaces a code section depends on you can create an isolation level where only the behavior of this specific code section is being tested. In my example I have a ProfileService (BLL) that takes an IProfileRepository interface (DAL) as