In this presentation, Yujun will demonstrate the different behavior of the tests written in real test, mockito and PowerMock. And how to apply different practices such as dependency injection to reduce the effort of mocking the object creation and effectively improve the test coverage. Also, how to use test coverage tools such as Cobertura and Sonar to measure the improvement.