Top 50 Unit testing interview questions and answers
1) What is smoking? In unit testing, we use mocking. An object you want to test may have other complex object dependencies. You replace the other objects with mocks simulating the behavior of the real objects to isolate the conduct of an object that you wish to test. So mocking creates objects in simple words…
