return buf.append("any invokedMethod declared in " + type);
}
});
mocker.setStub(new CustomStub("dummy invokedMethod") {
public Object invoke( Invocation invocation ) throws Throwable {
throw new NotImplementedException(invocation.invokedMethod.getName() + " called on " + name);
}
});
mock.addInvokable(mocker);