mocking 314

  1. How to make mock to void methods with mockito
  2. What's the difference between a mock & stub?
  3. What's the difference between faking, mocking, and stubbing?
  4. What's the best mock framework for Java?
  5. What is Mocking?
  6. What's the best strategy for unit-testing database-driven applications?
  7. Can Mockito capture arguments of a method called multiple times?
  8. MOQ: Returning value that was passed into a method
  9. Mockito test a void method throws an exception
  10. Use Mockito to mock some methods but not others
  11. Difference between @Mock and @InjectMocks
  12. Can Mockito stub a method without regard to the argument?
  13. Verify object attribute value with mockito
  14. Mocking static methods with Mockito
  15. Using Mockito to test abstract classes
  16. Using Mockito with multiple calls to the same method with the same arguments
  17. What are the differences between mocks and stubs on Rhino Mocks?
  18. Using Mockito's generic “any()” method
  19. How to mock the Request on Controller in ASP.Net MVC?
  20. Mock HttpContext.Current in Test Init Method
  21. Using Moq to determine if a method is called
  22. Android mock location on device?
  23. How do I mock a service that returns promise in Angularjs Jasmine unit test?
  24. How can I mock dependencies for unit testing in RequireJS?
  25. How to tell a Mockito mock object to return something different the next time it is called?
  26. What is the purpose of mock objects?
  27. ASP.NET WebApi unit testing with Request.CreateResponse
  28. How to unit test a node.js module that requires other modules
  29. How do I mock an open used in a with statement (using the Mock framework in Python)?
  30. Injecting a mock into an AngularJS service
  31. How can I get PHPUnit MockObjects to return different values based on a parameter?
  32. Comparison between Mockito vs JMockit - why is Mockito voted better than JMockit?
  33. How do you mock out the file system in C# for unit testing?
  34. How to check String in response body with mockMvc
  35. How to properly match varargs in Mockito
  36. Mocking Extension Methods with Moq
  37. Random data in Unit Tests?
  38. Using IoC for Unit Testing
  39. What is your favorite Python mocking library?
  40. How do I mock the HttpContext in ASP.NET MVC using Moq?
  41. Python: Trying to mock datetime.date.today() but not working
  42. When should I mock?
  43. How do Mockito matchers work?
  44. Square retrofit server mock for testing
  45. How can one mock/stub python module like urllib
  46. Mocking Asp.net-mvc Controller Context
  47. The value of high level unit tests and mock objects
  48. How do I use Moq to mock an extension method?
  49. How do you mock a Sealed class?
  50. How to MOQ an Indexed property