Allow mocking interfaces with constructors in 1.0.

Fixes #137