Using JMockit for mocking.