Add mock methods on the right object