github.com/CyCoreSystems/ari@v4.8.4+incompatible/client/arimocks/Subscription.go (about)

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package arimocks
     4  
     5  import ari "github.com/CyCoreSystems/ari"
     6  import mock "github.com/stretchr/testify/mock"
     7  
     8  // Subscription is an autogenerated mock type for the Subscription type
     9  type Subscription struct {
    10  	mock.Mock
    11  }
    12  
    13  // Cancel provides a mock function with given fields:
    14  func (_m *Subscription) Cancel() {
    15  	_m.Called()
    16  }
    17  
    18  // Events provides a mock function with given fields:
    19  func (_m *Subscription) Events() <-chan ari.Event {
    20  	ret := _m.Called()
    21  
    22  	var r0 <-chan ari.Event
    23  	if rf, ok := ret.Get(0).(func() <-chan ari.Event); ok {
    24  		r0 = rf()
    25  	} else {
    26  		if ret.Get(0) != nil {
    27  			r0 = ret.Get(0).(<-chan ari.Event)
    28  		}
    29  	}
    30  
    31  	return r0
    32  }