B25.Test_FormHelper.TestRelatedListEvent

Overview

Object that is used to specify the related list sObject change event inside of unit tests.

To test your custom form API implementation you need to be able to specify the event that is being fired this class represents the related list add or remove event data.

Example

B25.Test_FormHelper.TestRelatedListEvent changeEvent = new B25.Test_FormHelper.TestRelatedListEvent(); changeEvent.relatedSObjectType = B25__ReservationContact__c.SObjectType; changeEvent.addedSObjectId = someContact.Id; changeEvent.changedRelatedListItem = new B25__ReservationContact__c( B25__Contact_Lookup__c = someContact.Id );

Properties

Name

Type