This is an extract from the Virtual Pair Programmers Test Driven Development This course covers the fundamentals of test driven development… not just the theory, but how to use it in real world project examples. This includes mocking with Mockito. This chapter gives an introduction to JUnit if you haven't used it before. The full course is available at www.virtualpairprogrammers.com