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
manideepak jogiparthimanideepak jogiparthi 

how can i get test code coverage for apex class which i called in trigger?

Manohar YenugulaManohar Yenugula
Just Insert the Records what are required for the apex class and call the apex class and methods in the class
manideepak jogiparthimanideepak jogiparthi
Im Getting following erroe message when iam trying the apex class


System.NullPointerException: Attempt to de-reference a null object    

External entry point
Class.JSONParsing_Test.JSONParsing_Test1: line 37, column 1
 
manideepak jogiparthimanideepak jogiparthi
Im Getting following erroe message when iam trying the apex class


System.NullPointerException: Attempt to de-reference a null object    

External entry point
Class.JSONParsing_Test.JSONParsing_Test1: line 37, column 1