Apex BOOST Library |
Description | Utilities and methods for unit tests.
|
---|
adminUser | global static User adminUser A system admin user for use in System.runAs() . The record is not inserted. |
---|---|
minAccessUser | global static User minAccessUser A standard Minimum Access Salesforce user for use in System.runAs() . The record is not inserted. |
testException | global static Boolean testException Use this in conjunction with aBoost.Test.throwIfTesting() to get coverage for catch blocks |
Description | Create a system admin user for use in System.runAs() . The record is not inserted. |
---|
Description | Create a minimum-access user for use in System.runAs() . The record is not inserted. |
---|
Description | Create a user with the specified profile for use in System.runAs() . The record is not inserted. |
---|
Description | Create an Id for the specified SObjectType . Useful for writing fast tests that don't do SOQL or DML. |
---|
Description | Initialize the system. This base implementation creates default Apex BOOST custon settings. To run this, include the following in your unit test class: static { aBoost.Test.init(); } |
---|
Description | Call this method during unit testing to get coverage of catch blocks |
---|