forked from johnfercher/maroto
/
code.go
39 lines (30 loc) · 1.02 KB
/
code.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Code generated by mockery v1.0.1. DO NOT EDIT.
package mocks
import (
internal "github.com/Clip-Money-Inc/maroto/internal"
mock "github.com/stretchr/testify/mock"
props "github.com/Clip-Money-Inc/maroto/pkg/props"
)
// Code is an autogenerated mock type for the Code type
type Code struct {
mock.Mock
}
// AddBar provides a mock function with given fields: code, cell, prop
func (_m *Code) AddBar(code string, cell internal.Cell, prop props.Barcode) error {
ret := _m.Called(code, cell, prop)
var r0 error
if rf, ok := ret.Get(0).(func(string, internal.Cell, props.Barcode) error); ok {
r0 = rf(code, cell, prop)
} else {
r0 = ret.Error(0)
}
return r0
}
// AddDataMatrix provides a mock function with given fields: code, cell, prop
func (_m *Code) AddDataMatrix(code string, cell internal.Cell, prop props.Rect) {
_m.Called(code, cell, prop)
}
// AddQr provides a mock function with given fields: code, cell, prop
func (_m *Code) AddQr(code string, cell internal.Cell, prop props.Rect) {
_m.Called(code, cell, prop)
}