in pkg/mock/controller-runtime/client/mock.go [83:91]
func (c *Client) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error {
called := c.Called(obj, opts)
parent, ok := called.Get(0).(client.Client)
if ok {
return parent.Patch(ctx, obj, patch, opts...)
}
return called.Error(0)
}