FILE / ScuroNeko/mtg

testlib/mtglib_antireplay_cache_mock.go

Исходный файл и его история в репозитории.
FILE 58335b3e5916eca9d52a2f763a0addcaef93659f
Files
mtg/testlib/mtglib_antireplay_cache_mock.go
T
2021-03-15 10:52:14 +03:00

12 lines
214 B
Go

package testlib
import "github.com/stretchr/testify/mock"
type MtglibAntiReplayCacheMock struct {
mock.Mock
}
func (m *MtglibAntiReplayCacheMock) SeenBefore(data []byte) bool {
return m.Called(data).Bool(0)
}