Quiz Time

Let's test your understanding of using mock objects.

1

If an object’s methods depend on some other object, how would one test those in isolation?

A)

By using the actual instance of the dependency

B)

By bypassing the dependency

C)

By using mock of the dependency

D)

None of these

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.