What are you testing here? You just instructed mockito to return `address` on `env.address()`. Now you're verifying that Mockito works? I'd recommend to read about mocking in general: http://docs.mockito.googlecode.com/hg/org/mockito/Mockito.html