@isTest
public class MyTestClass {
    static testMethod void testMyMethod() {
        Test.startTest();
        // code that uses governor limits
        Test.stopTest();
    }
}