1 | /**
|
2 | * This class contains unit tests for validating the behavior of Apex classes
|
3 | * and triggers.
|
4 | *
|
5 | * Unit tests are class methods that verify whether a particular piece
|
6 | * of code is working properly. Unit test methods take no arguments,
|
7 | * commit no data to the database, and are flagged with the testMethod
|
8 | * keyword in the method definition.
|
9 | *
|
10 | * All test methods in an org are executed whenever Apex code is deployed
|
11 | * to a production org to confirm correctness, ensure code
|
12 | * coverage, and prevent regressions. All Apex classes are
|
13 | * required to have at least 75% code coverage in order to be deployed
|
14 | * to a production org. In addition, all triggers must have some code coverage.
|
15 | *
|
16 | * The @isTest class annotation indicates this class only contains test
|
17 | * methods. Classes defined with the @isTest annotation do not count against
|
18 | * the org size limit for all Apex scripts.
|
19 | *
|
20 | * See the Apex Language Reference for more information about Testing and Code Coverage.
|
21 | */
|
22 | @isTest
|
23 | private class <%= apiName %> {
|
24 |
|
25 | @isTest
|
26 | static void myUnitTest() {
|
27 | // TO DO: implement unit test
|
28 | }
|
29 | } |
\ | No newline at end of file |