Shorter to do:
```python
patcher = mock.patch('terrain.stubs.xqueue.Timer', side_effect=FakeTimer)
patcher.start()
self.addCleanup(patcher.stop)
```