JMockit API test