public <T> T bindMock(final Class<T> clazz) {
        return GuiceTestUtil.bindMock(binder(), clazz);
    }
Binds clazz to a Mockito mock instance.

@return The mock instance.
stroom-test-common/src/main/java/stroom/test/common/util/guice/AbstractTestModule.java