mockito: Java mock objects library

Java mocking is dominated by expect-run-verify libraries like EasyMock or jMock. Mockito offers simpler and more intuitive approach: you ask questions about interactions after execution. Using mockito, you can verify what you want, without expensive setup upfront. Mockito aims to be transparent and let the developer to focus on testing selected behavior.