I\'m testing a service layer and not sure how to mock ObjectMapper().readValue in that class. I\'m fairly new to mockito and could figure out how to do
Mocking objects created in a SUT is IMO the single biggest limitation of mockito. Use jmockit or powerMock or checkout the offical mockito way of handling this. https://github.com/mockito/mockito/wiki/Mocking-Object-Creation