dynamic proxy: support for default parameters
mock: return a simple mock if no class given