function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sarma DuvvuriSarma Duvvuri 

PostChatter Test Class

Hi All,

Kindly provide the sample test class for Creating Installation Case records based on Application Status

Thanks & Regards,
Sarma
Khan AnasKhan Anas (Salesforce Developers) 
Hi Sarma,

I trust you are doing very well.

Please refer to the below link which has sample code which might help you with the above issue. Kindly try to implement according to your requirement.

https://developer.salesforce.com/forums/?id=906F0000000Ak0nIAC

Also, please refer to below links for more information on test classes.

https://trailhead.salesforce.com/en/modules/apex_testing/units/apex_testing_intro

https://webkul.com/blog/test-classes-in-apex-salesforce/

http://www.sfdcpoint.com/salesforce/test-class-with-example-salesforce/

http://www.sfdc99.com/2014/04/06/example-how-to-write-an-advanced-test-class-2/


I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas
Sarma DuvvuriSarma Duvvuri
Hi Anas,

Thanks for the resonse. Need on more help related to that.

I required teset class for chatter group. once the documents and content version inserted application should update.

kindly help

Sarma