andDo() for mocks

Enforce that constructor takes a `Closure`.