(t TestReporter)
| 449 | } |
| 450 | |
| 451 | func NewMockFindCoordinatorResponse(t TestReporter) *MockFindCoordinatorResponse { |
| 452 | return &MockFindCoordinatorResponse{ |
| 453 | groupCoordinators: make(map[string]any), |
| 454 | transCoordinators: make(map[string]any), |
| 455 | t: t, |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | func (mr *MockFindCoordinatorResponse) SetCoordinator(coordinatorType CoordinatorType, group string, broker *MockBroker) *MockFindCoordinatorResponse { |
| 460 | switch coordinatorType { |
no outgoing calls