Companion code for presentation Testing Essentials: Mock Objects Explained