}\r
\r
global class Request {\r
- @InvocableVariable(required='true' label='String' description='String to be converted to an ID.')\r
+ @InvocableVariable(label='String' required='true' description='String to be converted to an ID.')\r
global String stringToId;\r
\r
- @InvocableVariable(required='false' label='Restore Casing?' description='If set to true, and the string represents an 18-character ID, the method returns an 18-character ID that is correctly aligned with its casing. Default value is false.')\r
+ @InvocableVariable(label='Restore Casing?' required='false' description='If set to true, and the string represents an 18-character ID, the method returns an 18-character ID that is correctly aligned with its casing. Default value is false.')\r
global Boolean restoreCasing;\r
\r
global Request () {}\r
\r
@isTest\r
static void testManyArgs () {\r
- List<Account> accountList = new List<Account>();\r
+ List<Account> accounts = new List<Account>();\r
for (Integer i = 0; i < 200; i++) {\r
Account a = new Account(\r
Name = 'Test Account ' + i\r
);\r
- accountList.add(a);\r
+ accounts.add(a);\r
}\r
- insert accountList;\r
+ insert accounts;\r
\r
Map<Id, String> stringMap = new Map<Id, String>();\r
- for (Account a : accountList) {\r
+ for (Account a : accounts) {\r
stringMap.put(a.Id, a.Id);\r
}\r
\r