func (_m *mockMembershipProxy) addLearnerToRaftGroupRemotely(newRaftId uint64, peers *pb.RaftPeer) error {
	ret := _m.Called(newRaftId, peers)

	var r0 error
	if rf, ok := ret.Get(0).(func(uint64, *pb.RaftPeer) error); ok {
		r0 = rf(newRaftId, peers)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}
// addLearnerToRaftGroupRemotely provides a mock function with given fields: newRaftId, peers
addLearnerToRaftGroupRemotely provides a mock function with given fields: newRaftId, peers
// addLearnerToRaftGroupRemotely provides a mock function with given fields : newRaftId peers
func (_m *mockMembershipProxy) addLearnerToRaftGroupRemotely(newRaftId uint64, peers *pb.RaftPeer) error {
	ret := _m.Called(newRaftId, peers)
	var r0 error
	if rf, ok := ret.Get(0).(func(uint64, *pb.RaftPeer) error); ok {
		r0 = rf(newRaftId, peers)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func ( _m * mockMembershipProxy ) addLearnerToRaftGroupRemotely ( newRaftId uint64 , peers * pb . RaftPeer ) error { ret := _m . Called ( newRaftId , peers ) var r0 error if rf , ok := ret . Get ( 0 ) . ( func ( uint64 , * pb . RaftPeer ) error ) ; ok { r0 = rf ( newRaftId , peers ) } else { r0 = ret . Error ( 0 ) } return r0 }
addLearnerToRaftGroupRemotely provides a mock function with given fields: newRaftId, peers
addLearnerToRaftGroupRemotely provides a mock function with given fields : newRaftId peers