Skip to content
Snippets Groups Projects
HandleSubscribeResponse.go 1.09 KiB
Newer Older
  • Learn to ignore specific revisions
  • // Code generated by mockery v2.14.0. DO NOT EDIT.
    
    package mocks
    
    import (
    	gnmi "github.com/openconfig/gnmi/proto/gnmi"
    	mock "github.com/stretchr/testify/mock"
    
    	transport "code.fbi.h-da.de/danet/gosdn/controller/interfaces/transport"
    )
    
    // HandleSubscribeResponse is an autogenerated mock type for the HandleSubscribeResponse type
    type HandleSubscribeResponse struct {
    	mock.Mock
    }
    
    // Execute provides a mock function with given fields: _a0, _a1
    func (_m *HandleSubscribeResponse) Execute(_a0 *gnmi.SubscribeResponse, _a1 *transport.SubscriptionInformation) {
    	_m.Called(_a0, _a1)
    }
    
    type mockConstructorTestingTNewHandleSubscribeResponse interface {
    	mock.TestingT
    	Cleanup(func())
    }
    
    // NewHandleSubscribeResponse creates a new instance of HandleSubscribeResponse. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    func NewHandleSubscribeResponse(t mockConstructorTestingTNewHandleSubscribeResponse) *HandleSubscribeResponse {
    	mock := &HandleSubscribeResponse{}
    	mock.Mock.Test(t)
    
    	t.Cleanup(func() { mock.AssertExpectations(t) })
    
    	return mock
    }