How to write a test class for a method that send a htttp request among other things
7606
How do I unit test code that includes a callout?
82756
Making a mocked method return an argument that was passed to it
55814
Testing WebServiceCallout with HttpCalloutMock
90099
Test Class for a Custom Controller
135778
Method does not exist or incorrect signature in Test.setMock
133903
Mock HttpContext.Current in Test Init Method
85266
Unit testing a method that calls another method
47517
Test Class Apex Page Parameters
45333
SingleEmailMessage sending isn't working when called from Unit Test
1005
How do I test a private function or a class that has private methods, fields or inner classes?
140302
Testing a class that has multiple callouts?
87895
Automatically Unit Test Example Code
22823
How can I write automated tests for iptables?
101471
Unit testing void methods?
77550
How do I set a property on a mocked object using Mockito?
156980
How do I mock an open used in a with statement (using the Mock framework in Python)?
7197
How to write a unit-test / test class for trigger?