http://raydehler.com/cloud/clod/inflate-your-test-coverage.html
public class MyClass { public void myMethods() { //... } public void inflateTest() { Integer j = 0; j++; j++; j++; j++; j++; j++; . . . // you get the idea } }
@isTest class MyClass_Test{ static testMethod void myInflateTest(){ MyClass.inflateTest(); } }