github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/tenantfetchersvc/resync/automock/aggregation_failure_pusher.go (about)

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