Consider using "Moq" framework which is already integrated to the solution.