I know they're just mocks, but these objects are being defined a little inconsistently in this commit:

- some functions are named, others are anonymous
- some empty function bodies wrap across two lines, others do not
- some function attributes are padded with newlines, others are not