func (_m *mockMembershipProxy) startNewRaftGroup(dataStructureId *ID, numReplicas int) ([]*pb.RaftPeer, error) {
	ret := _m.Called(dataStructureId, numReplicas)

	var r0 []*pb.RaftPeer
	if rf, ok := ret.Get(0).(func(*ID, int) []*pb.RaftPeer); ok {
		r0 = rf(dataStructureId, numReplicas)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*pb.RaftPeer)
		}
	}

	var r1 error
	if rf, ok := ret.Get(1).(func(*ID, int) error); ok {
		r1 = rf(dataStructureId, numReplicas)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}
// startNewRaftGroup provides a mock function with given fields: dataStructureId, numReplicas
startNewRaftGroup provides a mock function with given fields: dataStructureId, numReplicas
// startNewRaftGroup provides a mock function with given fields : dataStructureId numReplicas
func (_m *mockMembershipProxy) startNewRaftGroup(dataStructureId *ID, numReplicas int) ([]*pb.RaftPeer, error) {
	ret := _m.Called(dataStructureId, numReplicas)
	var r0 []*pb.RaftPeer
	if rf, ok := ret.Get(0).(func(*ID, int) []*pb.RaftPeer); ok {
		r0 = rf(dataStructureId, numReplicas)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).([]*pb.RaftPeer)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*ID, int) error); ok {
		r1 = rf(dataStructureId, numReplicas)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * mockMembershipProxy ) startNewRaftGroup ( dataStructureId * ID , numReplicas int ) ( [ ] * pb . RaftPeer , error ) { ret := _m . Called ( dataStructureId , numReplicas ) var r0 [ ] * pb . RaftPeer if rf , ok := ret . Get ( 0 ) . ( func ( * ID , int ) [ ] * pb . RaftPeer ) ; ok { r0 = rf ( dataStructureId , numReplicas ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( [ ] * pb . RaftPeer ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( * ID , int ) error ) ; ok { r1 = rf ( dataStructureId , numReplicas ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
startNewRaftGroup provides a mock function with given fields: dataStructureId, numReplicas
startNewRaftGroup provides a mock function with given fields : dataStructureId numReplicas