func (_m *Connection) Close() error {
	ret := _m.Called()
	var r0 error
	if rf, ok := ret.Get(0).(func() error); ok {
		r0 = rf()
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
Close provides a mock function with given fields:
package mocks
import (
	context "context"
	conn "github.com/tendermint/tendermint/internal/p2p/conn"
	crypto "github.com/tendermint/tendermint/crypto"
	mock "github.com/stretchr/testify/mock"
	p2p "github.com/tendermint/tendermint/internal/p2p"
	types "github.com/tendermint/tendermint/types"
)
type Connection struct {
	mock.Mock
}