github.com/onosproject/onos-api/go@v0.10.32/onos/topo/topo_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: go/onos/topo/topo.pb.go 3 4 // Package topo is a generated GoMock package. 5 package topo 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 gomock "github.com/golang/mock/gomock" 12 grpc "google.golang.org/grpc" 13 metadata "google.golang.org/grpc/metadata" 14 ) 15 16 // MockisObject_Obj is a mock of isObject_Obj interface 17 type MockisObject_Obj struct { 18 ctrl *gomock.Controller 19 recorder *MockisObject_ObjMockRecorder 20 } 21 22 // MockisObject_ObjMockRecorder is the mock recorder for MockisObject_Obj 23 type MockisObject_ObjMockRecorder struct { 24 mock *MockisObject_Obj 25 } 26 27 // NewMockisObject_Obj creates a new mock instance 28 func NewMockisObject_Obj(ctrl *gomock.Controller) *MockisObject_Obj { 29 mock := &MockisObject_Obj{ctrl: ctrl} 30 mock.recorder = &MockisObject_ObjMockRecorder{mock} 31 return mock 32 } 33 34 // EXPECT returns an object that allows the caller to indicate expected use 35 func (m *MockisObject_Obj) EXPECT() *MockisObject_ObjMockRecorder { 36 return m.recorder 37 } 38 39 // isObject_Obj mocks base method 40 func (m *MockisObject_Obj) isObject_Obj() { 41 m.ctrl.T.Helper() 42 m.ctrl.Call(m, "isObject_Obj") 43 } 44 45 // isObject_Obj indicates an expected call of isObject_Obj 46 func (mr *MockisObject_ObjMockRecorder) isObject_Obj() *gomock.Call { 47 mr.mock.ctrl.T.Helper() 48 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "isObject_Obj", reflect.TypeOf((*MockisObject_Obj)(nil).isObject_Obj)) 49 } 50 51 // MarshalTo mocks base method 52 func (m *MockisObject_Obj) MarshalTo(arg0 []byte) (int, error) { 53 m.ctrl.T.Helper() 54 ret := m.ctrl.Call(m, "MarshalTo", arg0) 55 ret0, _ := ret[0].(int) 56 ret1, _ := ret[1].(error) 57 return ret0, ret1 58 } 59 60 // MarshalTo indicates an expected call of MarshalTo 61 func (mr *MockisObject_ObjMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call { 62 mr.mock.ctrl.T.Helper() 63 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MarshalTo", reflect.TypeOf((*MockisObject_Obj)(nil).MarshalTo), arg0) 64 } 65 66 // Size mocks base method 67 func (m *MockisObject_Obj) Size() int { 68 m.ctrl.T.Helper() 69 ret := m.ctrl.Call(m, "Size") 70 ret0, _ := ret[0].(int) 71 return ret0 72 } 73 74 // Size indicates an expected call of Size 75 func (mr *MockisObject_ObjMockRecorder) Size() *gomock.Call { 76 mr.mock.ctrl.T.Helper() 77 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Size", reflect.TypeOf((*MockisObject_Obj)(nil).Size)) 78 } 79 80 // MockTopoClient is a mock of TopoClient interface 81 type MockTopoClient struct { 82 ctrl *gomock.Controller 83 recorder *MockTopoClientMockRecorder 84 } 85 86 // MockTopoClientMockRecorder is the mock recorder for MockTopoClient 87 type MockTopoClientMockRecorder struct { 88 mock *MockTopoClient 89 } 90 91 // NewMockTopoClient creates a new mock instance 92 func NewMockTopoClient(ctrl *gomock.Controller) *MockTopoClient { 93 mock := &MockTopoClient{ctrl: ctrl} 94 mock.recorder = &MockTopoClientMockRecorder{mock} 95 return mock 96 } 97 98 // EXPECT returns an object that allows the caller to indicate expected use 99 func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder { 100 return m.recorder 101 } 102 103 // Create mocks base method 104 func (m *MockTopoClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) { 105 m.ctrl.T.Helper() 106 varargs := []interface{}{ctx, in} 107 for _, a := range opts { 108 varargs = append(varargs, a) 109 } 110 ret := m.ctrl.Call(m, "Create", varargs...) 111 ret0, _ := ret[0].(*CreateResponse) 112 ret1, _ := ret[1].(error) 113 return ret0, ret1 114 } 115 116 // Create indicates an expected call of Create 117 func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call { 118 mr.mock.ctrl.T.Helper() 119 varargs := append([]interface{}{ctx, in}, opts...) 120 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockTopoClient)(nil).Create), varargs...) 121 } 122 123 // Get mocks base method 124 func (m *MockTopoClient) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) { 125 m.ctrl.T.Helper() 126 varargs := []interface{}{ctx, in} 127 for _, a := range opts { 128 varargs = append(varargs, a) 129 } 130 ret := m.ctrl.Call(m, "Get", varargs...) 131 ret0, _ := ret[0].(*GetResponse) 132 ret1, _ := ret[1].(error) 133 return ret0, ret1 134 } 135 136 // Get indicates an expected call of Get 137 func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call { 138 mr.mock.ctrl.T.Helper() 139 varargs := append([]interface{}{ctx, in}, opts...) 140 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockTopoClient)(nil).Get), varargs...) 141 } 142 143 // Update mocks base method 144 func (m *MockTopoClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) { 145 m.ctrl.T.Helper() 146 varargs := []interface{}{ctx, in} 147 for _, a := range opts { 148 varargs = append(varargs, a) 149 } 150 ret := m.ctrl.Call(m, "Update", varargs...) 151 ret0, _ := ret[0].(*UpdateResponse) 152 ret1, _ := ret[1].(error) 153 return ret0, ret1 154 } 155 156 // Update indicates an expected call of Update 157 func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call { 158 mr.mock.ctrl.T.Helper() 159 varargs := append([]interface{}{ctx, in}, opts...) 160 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockTopoClient)(nil).Update), varargs...) 161 } 162 163 // Delete mocks base method 164 func (m *MockTopoClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) { 165 m.ctrl.T.Helper() 166 varargs := []interface{}{ctx, in} 167 for _, a := range opts { 168 varargs = append(varargs, a) 169 } 170 ret := m.ctrl.Call(m, "Delete", varargs...) 171 ret0, _ := ret[0].(*DeleteResponse) 172 ret1, _ := ret[1].(error) 173 return ret0, ret1 174 } 175 176 // Delete indicates an expected call of Delete 177 func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call { 178 mr.mock.ctrl.T.Helper() 179 varargs := append([]interface{}{ctx, in}, opts...) 180 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockTopoClient)(nil).Delete), varargs...) 181 } 182 183 // List mocks base method 184 func (m *MockTopoClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) { 185 m.ctrl.T.Helper() 186 varargs := []interface{}{ctx, in} 187 for _, a := range opts { 188 varargs = append(varargs, a) 189 } 190 ret := m.ctrl.Call(m, "List", varargs...) 191 ret0, _ := ret[0].(*ListResponse) 192 ret1, _ := ret[1].(error) 193 return ret0, ret1 194 } 195 196 // List indicates an expected call of List 197 func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call { 198 mr.mock.ctrl.T.Helper() 199 varargs := append([]interface{}{ctx, in}, opts...) 200 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockTopoClient)(nil).List), varargs...) 201 } 202 203 // Watch mocks base method 204 func (m *MockTopoClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Topo_WatchClient, error) { 205 m.ctrl.T.Helper() 206 varargs := []interface{}{ctx, in} 207 for _, a := range opts { 208 varargs = append(varargs, a) 209 } 210 ret := m.ctrl.Call(m, "Watch", varargs...) 211 ret0, _ := ret[0].(Topo_WatchClient) 212 ret1, _ := ret[1].(error) 213 return ret0, ret1 214 } 215 216 // Watch indicates an expected call of Watch 217 func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call { 218 mr.mock.ctrl.T.Helper() 219 varargs := append([]interface{}{ctx, in}, opts...) 220 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockTopoClient)(nil).Watch), varargs...) 221 } 222 223 // MockTopo_WatchClient is a mock of Topo_WatchClient interface 224 type MockTopo_WatchClient struct { 225 ctrl *gomock.Controller 226 recorder *MockTopo_WatchClientMockRecorder 227 } 228 229 // MockTopo_WatchClientMockRecorder is the mock recorder for MockTopo_WatchClient 230 type MockTopo_WatchClientMockRecorder struct { 231 mock *MockTopo_WatchClient 232 } 233 234 // NewMockTopo_WatchClient creates a new mock instance 235 func NewMockTopo_WatchClient(ctrl *gomock.Controller) *MockTopo_WatchClient { 236 mock := &MockTopo_WatchClient{ctrl: ctrl} 237 mock.recorder = &MockTopo_WatchClientMockRecorder{mock} 238 return mock 239 } 240 241 // EXPECT returns an object that allows the caller to indicate expected use 242 func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder { 243 return m.recorder 244 } 245 246 // Recv mocks base method 247 func (m *MockTopo_WatchClient) Recv() (*WatchResponse, error) { 248 m.ctrl.T.Helper() 249 ret := m.ctrl.Call(m, "Recv") 250 ret0, _ := ret[0].(*WatchResponse) 251 ret1, _ := ret[1].(error) 252 return ret0, ret1 253 } 254 255 // Recv indicates an expected call of Recv 256 func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call { 257 mr.mock.ctrl.T.Helper() 258 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockTopo_WatchClient)(nil).Recv)) 259 } 260 261 // Header mocks base method 262 func (m *MockTopo_WatchClient) Header() (metadata.MD, error) { 263 m.ctrl.T.Helper() 264 ret := m.ctrl.Call(m, "Header") 265 ret0, _ := ret[0].(metadata.MD) 266 ret1, _ := ret[1].(error) 267 return ret0, ret1 268 } 269 270 // Header indicates an expected call of Header 271 func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call { 272 mr.mock.ctrl.T.Helper() 273 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockTopo_WatchClient)(nil).Header)) 274 } 275 276 // Trailer mocks base method 277 func (m *MockTopo_WatchClient) Trailer() metadata.MD { 278 m.ctrl.T.Helper() 279 ret := m.ctrl.Call(m, "Trailer") 280 ret0, _ := ret[0].(metadata.MD) 281 return ret0 282 } 283 284 // Trailer indicates an expected call of Trailer 285 func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call { 286 mr.mock.ctrl.T.Helper() 287 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockTopo_WatchClient)(nil).Trailer)) 288 } 289 290 // CloseSend mocks base method 291 func (m *MockTopo_WatchClient) CloseSend() error { 292 m.ctrl.T.Helper() 293 ret := m.ctrl.Call(m, "CloseSend") 294 ret0, _ := ret[0].(error) 295 return ret0 296 } 297 298 // CloseSend indicates an expected call of CloseSend 299 func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call { 300 mr.mock.ctrl.T.Helper() 301 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockTopo_WatchClient)(nil).CloseSend)) 302 } 303 304 // Context mocks base method 305 func (m *MockTopo_WatchClient) Context() context.Context { 306 m.ctrl.T.Helper() 307 ret := m.ctrl.Call(m, "Context") 308 ret0, _ := ret[0].(context.Context) 309 return ret0 310 } 311 312 // Context indicates an expected call of Context 313 func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call { 314 mr.mock.ctrl.T.Helper() 315 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockTopo_WatchClient)(nil).Context)) 316 } 317 318 // SendMsg mocks base method 319 func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error { 320 m_2.ctrl.T.Helper() 321 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 322 ret0, _ := ret[0].(error) 323 return ret0 324 } 325 326 // SendMsg indicates an expected call of SendMsg 327 func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call { 328 mr.mock.ctrl.T.Helper() 329 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockTopo_WatchClient)(nil).SendMsg), m) 330 } 331 332 // RecvMsg mocks base method 333 func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error { 334 m_2.ctrl.T.Helper() 335 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 336 ret0, _ := ret[0].(error) 337 return ret0 338 } 339 340 // RecvMsg indicates an expected call of RecvMsg 341 func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { 342 mr.mock.ctrl.T.Helper() 343 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockTopo_WatchClient)(nil).RecvMsg), m) 344 } 345 346 // MockTopoServer is a mock of TopoServer interface 347 type MockTopoServer struct { 348 ctrl *gomock.Controller 349 recorder *MockTopoServerMockRecorder 350 } 351 352 // MockTopoServerMockRecorder is the mock recorder for MockTopoServer 353 type MockTopoServerMockRecorder struct { 354 mock *MockTopoServer 355 } 356 357 // NewMockTopoServer creates a new mock instance 358 func NewMockTopoServer(ctrl *gomock.Controller) *MockTopoServer { 359 mock := &MockTopoServer{ctrl: ctrl} 360 mock.recorder = &MockTopoServerMockRecorder{mock} 361 return mock 362 } 363 364 // EXPECT returns an object that allows the caller to indicate expected use 365 func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder { 366 return m.recorder 367 } 368 369 // Create mocks base method 370 func (m *MockTopoServer) Create(arg0 context.Context, arg1 *CreateRequest) (*CreateResponse, error) { 371 m.ctrl.T.Helper() 372 ret := m.ctrl.Call(m, "Create", arg0, arg1) 373 ret0, _ := ret[0].(*CreateResponse) 374 ret1, _ := ret[1].(error) 375 return ret0, ret1 376 } 377 378 // Create indicates an expected call of Create 379 func (mr *MockTopoServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call { 380 mr.mock.ctrl.T.Helper() 381 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockTopoServer)(nil).Create), arg0, arg1) 382 } 383 384 // Get mocks base method 385 func (m *MockTopoServer) Get(arg0 context.Context, arg1 *GetRequest) (*GetResponse, error) { 386 m.ctrl.T.Helper() 387 ret := m.ctrl.Call(m, "Get", arg0, arg1) 388 ret0, _ := ret[0].(*GetResponse) 389 ret1, _ := ret[1].(error) 390 return ret0, ret1 391 } 392 393 // Get indicates an expected call of Get 394 func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call { 395 mr.mock.ctrl.T.Helper() 396 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockTopoServer)(nil).Get), arg0, arg1) 397 } 398 399 // Update mocks base method 400 func (m *MockTopoServer) Update(arg0 context.Context, arg1 *UpdateRequest) (*UpdateResponse, error) { 401 m.ctrl.T.Helper() 402 ret := m.ctrl.Call(m, "Update", arg0, arg1) 403 ret0, _ := ret[0].(*UpdateResponse) 404 ret1, _ := ret[1].(error) 405 return ret0, ret1 406 } 407 408 // Update indicates an expected call of Update 409 func (mr *MockTopoServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call { 410 mr.mock.ctrl.T.Helper() 411 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockTopoServer)(nil).Update), arg0, arg1) 412 } 413 414 // Delete mocks base method 415 func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *DeleteRequest) (*DeleteResponse, error) { 416 m.ctrl.T.Helper() 417 ret := m.ctrl.Call(m, "Delete", arg0, arg1) 418 ret0, _ := ret[0].(*DeleteResponse) 419 ret1, _ := ret[1].(error) 420 return ret0, ret1 421 } 422 423 // Delete indicates an expected call of Delete 424 func (mr *MockTopoServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call { 425 mr.mock.ctrl.T.Helper() 426 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockTopoServer)(nil).Delete), arg0, arg1) 427 } 428 429 // List mocks base method 430 func (m *MockTopoServer) List(arg0 context.Context, arg1 *ListRequest) (*ListResponse, error) { 431 m.ctrl.T.Helper() 432 ret := m.ctrl.Call(m, "List", arg0, arg1) 433 ret0, _ := ret[0].(*ListResponse) 434 ret1, _ := ret[1].(error) 435 return ret0, ret1 436 } 437 438 // List indicates an expected call of List 439 func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call { 440 mr.mock.ctrl.T.Helper() 441 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockTopoServer)(nil).List), arg0, arg1) 442 } 443 444 // Watch mocks base method 445 func (m *MockTopoServer) Watch(arg0 *WatchRequest, arg1 Topo_WatchServer) error { 446 m.ctrl.T.Helper() 447 ret := m.ctrl.Call(m, "Watch", arg0, arg1) 448 ret0, _ := ret[0].(error) 449 return ret0 450 } 451 452 // Watch indicates an expected call of Watch 453 func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call { 454 mr.mock.ctrl.T.Helper() 455 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockTopoServer)(nil).Watch), arg0, arg1) 456 } 457 458 // MockTopo_WatchServer is a mock of Topo_WatchServer interface 459 type MockTopo_WatchServer struct { 460 ctrl *gomock.Controller 461 recorder *MockTopo_WatchServerMockRecorder 462 } 463 464 // MockTopo_WatchServerMockRecorder is the mock recorder for MockTopo_WatchServer 465 type MockTopo_WatchServerMockRecorder struct { 466 mock *MockTopo_WatchServer 467 } 468 469 // NewMockTopo_WatchServer creates a new mock instance 470 func NewMockTopo_WatchServer(ctrl *gomock.Controller) *MockTopo_WatchServer { 471 mock := &MockTopo_WatchServer{ctrl: ctrl} 472 mock.recorder = &MockTopo_WatchServerMockRecorder{mock} 473 return mock 474 } 475 476 // EXPECT returns an object that allows the caller to indicate expected use 477 func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder { 478 return m.recorder 479 } 480 481 // Send mocks base method 482 func (m *MockTopo_WatchServer) Send(arg0 *WatchResponse) error { 483 m.ctrl.T.Helper() 484 ret := m.ctrl.Call(m, "Send", arg0) 485 ret0, _ := ret[0].(error) 486 return ret0 487 } 488 489 // Send indicates an expected call of Send 490 func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call { 491 mr.mock.ctrl.T.Helper() 492 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockTopo_WatchServer)(nil).Send), arg0) 493 } 494 495 // SetHeader mocks base method 496 func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error { 497 m.ctrl.T.Helper() 498 ret := m.ctrl.Call(m, "SetHeader", arg0) 499 ret0, _ := ret[0].(error) 500 return ret0 501 } 502 503 // SetHeader indicates an expected call of SetHeader 504 func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { 505 mr.mock.ctrl.T.Helper() 506 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockTopo_WatchServer)(nil).SetHeader), arg0) 507 } 508 509 // SendHeader mocks base method 510 func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error { 511 m.ctrl.T.Helper() 512 ret := m.ctrl.Call(m, "SendHeader", arg0) 513 ret0, _ := ret[0].(error) 514 return ret0 515 } 516 517 // SendHeader indicates an expected call of SendHeader 518 func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { 519 mr.mock.ctrl.T.Helper() 520 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockTopo_WatchServer)(nil).SendHeader), arg0) 521 } 522 523 // SetTrailer mocks base method 524 func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD) { 525 m.ctrl.T.Helper() 526 m.ctrl.Call(m, "SetTrailer", arg0) 527 } 528 529 // SetTrailer indicates an expected call of SetTrailer 530 func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { 531 mr.mock.ctrl.T.Helper() 532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockTopo_WatchServer)(nil).SetTrailer), arg0) 533 } 534 535 // Context mocks base method 536 func (m *MockTopo_WatchServer) Context() context.Context { 537 m.ctrl.T.Helper() 538 ret := m.ctrl.Call(m, "Context") 539 ret0, _ := ret[0].(context.Context) 540 return ret0 541 } 542 543 // Context indicates an expected call of Context 544 func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call { 545 mr.mock.ctrl.T.Helper() 546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockTopo_WatchServer)(nil).Context)) 547 } 548 549 // SendMsg mocks base method 550 func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error { 551 m_2.ctrl.T.Helper() 552 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 553 ret0, _ := ret[0].(error) 554 return ret0 555 } 556 557 // SendMsg indicates an expected call of SendMsg 558 func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call { 559 mr.mock.ctrl.T.Helper() 560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockTopo_WatchServer)(nil).SendMsg), m) 561 } 562 563 // RecvMsg mocks base method 564 func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error { 565 m_2.ctrl.T.Helper() 566 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 567 ret0, _ := ret[0].(error) 568 return ret0 569 } 570 571 // RecvMsg indicates an expected call of RecvMsg 572 func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { 573 mr.mock.ctrl.T.Helper() 574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockTopo_WatchServer)(nil).RecvMsg), m) 575 }