integration test showing use of Mockito