Example code for doing test with Jersey 2, Spring framework and Mockito