func (_m *NuclioProjectInterface) Update(_a0 *v1beta1.NuclioProject) (*v1beta1.NuclioProject, error) {
	ret := _m.Called(_a0)
	var r0 *v1beta1.NuclioProject
	if rf, ok := ret.Get(0).(func(*v1beta1.NuclioProject) *v1beta1.NuclioProject); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioProject)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*v1beta1.NuclioProject) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
Update provides a mock project with given fields: _a0
package mocks
import (
	mock "github.com/stretchr/testify/mock"
	types "k8s.io/apimachinery/pkg/types"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	v1beta1 "github.com/nuclio/nuclio/pkg/platform/kube/apis/nuclio.io/v1beta1"
	watch "k8s.io/apimachinery/pkg/watch"
)
type NuclioProjectInterface struct {
	mock.Mock
}
func (_m *NuclioProjectInterface) Create(_a0 *v1beta1.NuclioProject) (*v1beta1.NuclioProject, error) {
	ret := _m.Called(_a0)
	var r0 *v1beta1.NuclioProject
	if rf, ok := ret.Get(0).(func(*v1beta1.NuclioProject) *v1beta1.NuclioProject); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioProject)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*v1beta1.NuclioProject) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *NuclioProjectInterface) Delete(name string, options *v1.DeleteOptions) error {
	ret := _m.Called(name, options)
	var r0 error
	if rf, ok := ret.Get(0).(func(string, *v1.DeleteOptions) error); ok {
		r0 = rf(name, options)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *NuclioProjectInterface) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error {
	ret := _m.Called(options, listOptions)
	var r0 error
	if rf, ok := ret.Get(0).(func(*v1.DeleteOptions, v1.ListOptions) error); ok {
		r0 = rf(options, listOptions)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *NuclioProjectInterface) Get(name string, options v1.GetOptions) (*v1beta1.NuclioProject, error) {
	ret := _m.Called(name, options)
	var r0 *v1beta1.NuclioProject
	if rf, ok := ret.Get(0).(func(string, v1.GetOptions) *v1beta1.NuclioProject); ok {
		r0 = rf(name, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioProject)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, v1.GetOptions) error); ok {
		r1 = rf(name, options)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *NuclioProjectInterface) List(opts v1.ListOptions) (*v1beta1.NuclioProjectList, error) {
	ret := _m.Called(opts)
	var r0 *v1beta1.NuclioProjectList
	if rf, ok := ret.Get(0).(func(v1.ListOptions) *v1beta1.NuclioProjectList); ok {
		r0 = rf(opts)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioProjectList)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(v1.ListOptions) error); ok {
		r1 = rf(opts)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *NuclioProjectInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1beta1.NuclioProject, error) {
	_va := make([]interface{}, len(subresources))
	for _i := range subresources {
		_va[_i] = subresources[_i]
	}
	var _ca []interface{}
	_ca = append(_ca, name, pt, data)
	_ca = append(_ca, _va...)
	ret := _m.Called(_ca...)
	var r0 *v1beta1.NuclioProject
	if rf, ok := ret.Get(0).(func(string, types.PatchType, []byte, ...string) *v1beta1.NuclioProject); ok {
		r0 = rf(name, pt, data, subresources...)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioProject)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string, types.PatchType, []byte, ...string) error); ok {
		r1 = rf(name, pt, data, subresources...)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}