Changing default Mock behaviour
3rd Jan 2022 by Aneesh Mistry

Changing default mock behaviour

This video will explore the 3 different ways that a default Mock Object can be returned to the test class from a method call. By understanding how mock Object behaviour can be changed, we can transform Null Object responses into mocked, Spy or real Object representations. As a result, test methods can be more fluent and resistant to empty and null default values.

YouTube video link


Share this post