You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
732 B

  1. // Code generated by mockery v1.1.1. DO NOT EDIT.
  2. package mocks
  3. import (
  4. mock "github.com/stretchr/testify/mock"
  5. abcicli "github.com/tendermint/tendermint/abci/client"
  6. )
  7. // ClientCreator is an autogenerated mock type for the ClientCreator type
  8. type ClientCreator struct {
  9. mock.Mock
  10. }
  11. // NewABCIClient provides a mock function with given fields:
  12. func (_m *ClientCreator) NewABCIClient() (abcicli.Client, error) {
  13. ret := _m.Called()
  14. var r0 abcicli.Client
  15. if rf, ok := ret.Get(0).(func() abcicli.Client); ok {
  16. r0 = rf()
  17. } else {
  18. if ret.Get(0) != nil {
  19. r0 = ret.Get(0).(abcicli.Client)
  20. }
  21. }
  22. var r1 error
  23. if rf, ok := ret.Get(1).(func() error); ok {
  24. r1 = rf()
  25. } else {
  26. r1 = ret.Error(1)
  27. }
  28. return r0, r1
  29. }