This test case is not testing anything. You're using Mockito in a wrong way. I'd recommend you to read about TDD, JUnit and Mockito first.