How to mock DbContext
139341
Unit Testing and Mocking using RhinoMocks
91470
Mock vs MagicMock
99039
Test Method Not Returning Records
82756
Making a mocked method return an argument that was passed to it
147967
Mock a service while running a BrowserTest?
61266
How to get ClientContext
48407
Getting CalloutException when testing Batchable class with Callouts and HttpCalloutMock
51716
I need to test this code, but when writing a trigger, I get an invalid type
114439
unit test with lambda fail using rhino mock
115240
How do I test an application for SQL injections?
7197
How to write a unit-test / test class for trigger?
55814
Testing WebServiceCallout with HttpCalloutMock
92187
Unable to cast object of type 'System.DBNull' to type 'System.String`
36865
Unit Test - Creating Custom Metadata
145489
How to perform entity validation on code level?
132285
Mocking 'System.Console' behaviour
120780
How to force MVC to Validate IValidatableObject