Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mocking

In RSpec, is there a method equivalent to "unstub" but for "should_receive"?

rspec mocking stub

Mocking Static Blocks in Java

Why can't I use a try block around my super() call?

Moq - Need mocked function to return value passed in

mocking moq

Can I mock an interface implementation with PHPUnit?

php interface mocking phpunit

Why python mock patch doesn't work?

What is the difference between jest.fn() and jest.spyOn() methods in jest?

reactjs mocking jestjs spy

How to mock python's datetime.now() in a class method for unit testing?

How to mock http.Client Do method

How to mock new Date() in java using Mockito

Unit testing with EF4 "Code First" and Repository

Need help to understand Moq better

c# mocking lambda moq

Is it possible to create a mock object that implements multiple interfaces with EasyMock?

Moq: Setup a mocked method to fail on the first call, succeed on the second

RSpec allow/expect vs just expect/and_return

How do I mock a django signal handler?

MOCKITO: What is it and how is it different from Junit

Python mock patch a function called by another function

How to mock a function defined in a module of a package?

python mocking

In PHPUnit, how do I indicate different with() on successive calls to a mocked method?

php mocking phpunit