func (_m *NuclioAPIGatewayInterface) Get(name string, options v1.GetOptions) (*v1beta1.NuclioAPIGateway, error) {
	ret := _m.Called(name, options)
	var r0 *v1beta1.NuclioAPIGateway
	if rf, ok := ret.Get(0).(func(string, v1.GetOptions) *v1beta1.NuclioAPIGateway); ok {
		r0 = rf(name, options)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioAPIGateway)
		}
	}
	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
}
Get provides a mock function with given fields: name, options
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 NuclioAPIGatewayInterface struct {
	mock.Mock
}
func (_m *NuclioAPIGatewayInterface) Create(_a0 *v1beta1.NuclioAPIGateway) (*v1beta1.NuclioAPIGateway, error) {
	ret := _m.Called(_a0)
	var r0 *v1beta1.NuclioAPIGateway
	if rf, ok := ret.Get(0).(func(*v1beta1.NuclioAPIGateway) *v1beta1.NuclioAPIGateway); ok {
		r0 = rf(_a0)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*v1beta1.NuclioAPIGateway)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*v1beta1.NuclioAPIGateway) error); ok {
		r1 = rf(_a0)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *NuclioAPIGatewayInterface) 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 *NuclioAPIGatewayInterface) 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
}