blob: 091031e7fe5fd5f182ddd929f5c415f097a1260d [file] [log] [blame]
// Code generated by mockery v0.0.0-dev. DO NOT EDIT.
package mocks
import (
image "image"
mock "github.com/stretchr/testify/mock"
)
// Matcher is an autogenerated mock type for the Matcher type
type Matcher struct {
mock.Mock
}
// Match provides a mock function with given fields: expected, actual
func (_m *Matcher) Match(expected image.Image, actual image.Image) bool {
ret := _m.Called(expected, actual)
if len(ret) == 0 {
panic("no return value specified for Match")
}
var r0 bool
if rf, ok := ret.Get(0).(func(image.Image, image.Image) bool); ok {
r0 = rf(expected, actual)
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// NewMatcher creates a new instance of Matcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMatcher(t interface {
mock.TestingT
Cleanup(func())
}) *Matcher {
mock := &Matcher{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}