Make sure to add mockito to your build path, or the tests will not compile. I am using mockito to mock up objects for unit testing, it's your choice to use it or not.