PayPal Interview Question

Why you used mocking?

Interview Answer

Anonymous

Mar 14, 2017

We used mocking because, while testing we wan't to focus only on the particular unit or function, we don't want to bother about other functions that is used in the original function that we are testing are right or wrong.