@isTest private with sharing class webhookClassTest { static testMethod void testParse() { String json= '{"webhook": { "topic": "customers/create","address": "https://hicsfshopify-developer-edition.ap4.force.com/services/apexrest/UpdateCustomerFromShopify/","format": "json"}}'; webhookClass obj = webhookClass.parse(json); System.assert(obj != null); } }