forked from johnfercher/maroto
/
code.go
32 lines (25 loc) · 1.07 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
// Code generated by mockery v1.0.0. DO NOT EDIT.
package mocks
import (
props "github.com/johnfercher/maroto/pkg/props"
mock "github.com/stretchr/testify/mock"
)
// Code is an autogenerated mock type for the Code type
type Code struct {
mock.Mock
}
// AddBar provides a mock function with given fields: code, marginTop, indexCol, qtdCols, colHeight, prop
func (_m *Code) AddBar(code string, marginTop float64, indexCol float64, qtdCols float64, colHeight float64, prop props.Barcode) error {
ret := _m.Called(code, marginTop, indexCol, qtdCols, colHeight, prop)
var r0 error
if rf, ok := ret.Get(0).(func(string, float64, float64, float64, float64, props.Barcode) error); ok {
r0 = rf(code, marginTop, indexCol, qtdCols, colHeight, prop)
} else {
r0 = ret.Error(0)
}
return r0
}
// AddQr provides a mock function with given fields: code, marginTop, indexCol, qtdCols, colHeight, prop
func (_m *Code) AddQr(code string, marginTop float64, indexCol float64, qtdCols float64, colHeight float64, prop props.Rect) {
_m.Called(code, marginTop, indexCol, qtdCols, colHeight, prop)
}