github.com/koko1123/flow-go-1@v0.29.6/module/mock/processing_notifier.go (about)

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