Implemented onStatic().
Can construct static mock proxy with an object.