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

     1  // Code generated by mockery v1.0.0. DO NOT EDIT.
     2  
     3  package mock
     4  
     5  import mock "github.com/stretchr/testify/mock"
     6  
     7  // Verifier is an autogenerated mock type for the Verifier type
     8  type Verifier struct {
     9  	mock.Mock
    10  }
    11  
    12  // VerifyRegistersProof provides a mock function with given fields: registerIDs, stateCommitment, values, proof
    13  func (_m *Verifier) VerifyRegistersProof(registerIDs [][]byte, stateCommitment []byte, values [][]byte, proof [][]byte) (bool, error) {
    14  	ret := _m.Called(registerIDs, stateCommitment, values, proof)
    15  
    16  	var r0 bool
    17  	if rf, ok := ret.Get(0).(func([][]byte, []byte, [][]byte, [][]byte) bool); ok {
    18  		r0 = rf(registerIDs, stateCommitment, values, proof)
    19  	} else {
    20  		r0 = ret.Get(0).(bool)
    21  	}
    22  
    23  	var r1 error
    24  	if rf, ok := ret.Get(1).(func([][]byte, []byte, [][]byte, [][]byte) error); ok {
    25  		r1 = rf(registerIDs, stateCommitment, values, proof)
    26  	} else {
    27  		r1 = ret.Error(1)
    28  	}
    29  
    30  	return r0, r1
    31  }