sample code and explanation of jmockit usage