SFDCMock HTTPCallout Mock Create your mock callout endpoint and json Then use the class as a mock for your test class