// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/aws/aws-app-mesh-controller-for-k8s/pkg/mesh (interfaces: MembershipDesignator)

// Package mock_mesh is a generated GoMock package.
package mock_mesh

import (
	context "context"
	v1beta2 "github.com/aws/aws-app-mesh-controller-for-k8s/apis/appmesh/v1beta2"
	gomock "github.com/golang/mock/gomock"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	reflect "reflect"
)

// MockMembershipDesignator is a mock of MembershipDesignator interface
type MockMembershipDesignator struct {
	ctrl     *gomock.Controller
	recorder *MockMembershipDesignatorMockRecorder
}

// MockMembershipDesignatorMockRecorder is the mock recorder for MockMembershipDesignator
type MockMembershipDesignatorMockRecorder struct {
	mock *MockMembershipDesignator
}

// NewMockMembershipDesignator creates a new mock instance
func NewMockMembershipDesignator(ctrl *gomock.Controller) *MockMembershipDesignator {
	mock := &MockMembershipDesignator{ctrl: ctrl}
	mock.recorder = &MockMembershipDesignatorMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockMembershipDesignator) EXPECT() *MockMembershipDesignatorMockRecorder {
	return m.recorder
}

// Designate mocks base method
func (m *MockMembershipDesignator) Designate(arg0 context.Context, arg1 v1.Object) (*v1beta2.Mesh, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Designate", arg0, arg1)
	ret0, _ := ret[0].(*v1beta2.Mesh)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// Designate indicates an expected call of Designate
func (mr *MockMembershipDesignatorMockRecorder) Designate(arg0, arg1 interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Designate", reflect.TypeOf((*MockMembershipDesignator)(nil).Designate), arg0, arg1)
}
