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

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