// New provides a mock function with given fields: kind
New provides a mock function with given fields: kind
// New provides a mock function with given fields : kind
func (_m *ObjectCreater) New(kind schema.GroupVersionKind) (runtime.Object, error) {
	ret := _m.Called(kind)
	var r0 runtime.Object
	if rf, ok := ret.Get(0).(func(schema.GroupVersionKind) runtime.Object); ok {
		r0 = rf(kind)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(runtime.Object)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(schema.GroupVersionKind) error); ok {
		r1 = rf(kind)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * ObjectCreater ) New ( kind schema . GroupVersionKind ) ( runtime . Object , error ) { ret := _m . Called ( kind ) var r0 runtime . Object if rf , ok := ret . Get ( 0 ) . ( func ( schema . GroupVersionKind ) runtime . Object ) ; ok { r0 = rf ( kind ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( runtime . Object ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( schema . GroupVersionKind ) error ) ; ok { r1 = rf ( kind ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
New provides a mock function with given fields: kind
New provides a mock function with given fields : kind