github.com/yandex/pandora@v0.5.32/core/mocks/borrowed_sample.go (about)

     1  // Code generated by mockery v2.20.2. DO NOT EDIT.
     2  
     3  package coremock
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  
     7  // BorrowedSample is an autogenerated mock type for the BorrowedSample type
     8  type BorrowedSample struct {
     9  	mock.Mock
    10  }
    11  
    12  // Return provides a mock function with given fields:
    13  func (_m *BorrowedSample) Return() {
    14  	_m.Called()
    15  }
    16  
    17  type mockConstructorTestingTNewBorrowedSample interface {
    18  	mock.TestingT
    19  	Cleanup(func())
    20  }
    21  
    22  // NewBorrowedSample creates a new instance of BorrowedSample. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
    23  func NewBorrowedSample(t mockConstructorTestingTNewBorrowedSample) *BorrowedSample {
    24  	mock := &BorrowedSample{}
    25  	mock.Mock.Test(t)
    26  
    27  	t.Cleanup(func() { mock.AssertExpectations(t) })
    28  
    29  	return mock
    30  }