1

As written, you've made it so you have to construct an instance of your class: Test.startTest(); SSUDataJSONGenerator generator = new SSUDataJSONGenerator(); generator.createPayload(studySites,'INSERT'); Test.stopTest(); If you didn't mean to add this complexity, change your method to static: public static String ...


Only top voted, non community-wiki answers of a minimum length are eligible