Mocking and Lists
This lesson gives an overview of the mocking interface, lists, and exceptions in Spock.
Mocking
Mocking interfaces is extremely easy in Spock. Simply use the Mock method, as shown in the following example ...
Access this course and 1400+ top-rated courses and projects.