Can construct static mock proxy with an object.