forked from quic-go/quic-go
73 lines
2.3 KiB
Go
73 lines
2.3 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/lucas-clemente/quic-go/internal/handshake (interfaces: MintTLS)
|
|
|
|
// Package handshake is a generated GoMock package.
|
|
package handshake
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
mint "github.com/bifurcation/mint"
|
|
gomock "github.com/golang/mock/gomock"
|
|
)
|
|
|
|
// MockMintTLS is a mock of MintTLS interface
|
|
type MockMintTLS struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockMintTLSMockRecorder
|
|
}
|
|
|
|
// MockMintTLSMockRecorder is the mock recorder for MockMintTLS
|
|
type MockMintTLSMockRecorder struct {
|
|
mock *MockMintTLS
|
|
}
|
|
|
|
// NewMockMintTLS creates a new mock instance
|
|
func NewMockMintTLS(ctrl *gomock.Controller) *MockMintTLS {
|
|
mock := &MockMintTLS{ctrl: ctrl}
|
|
mock.recorder = &MockMintTLSMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use
|
|
func (m *MockMintTLS) EXPECT() *MockMintTLSMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// ComputeExporter mocks base method
|
|
func (m *MockMintTLS) ComputeExporter(arg0 string, arg1 []byte, arg2 int) ([]byte, error) {
|
|
ret := m.ctrl.Call(m, "ComputeExporter", arg0, arg1, arg2)
|
|
ret0, _ := ret[0].([]byte)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// ComputeExporter indicates an expected call of ComputeExporter
|
|
func (mr *MockMintTLSMockRecorder) ComputeExporter(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ComputeExporter", reflect.TypeOf((*MockMintTLS)(nil).ComputeExporter), arg0, arg1, arg2)
|
|
}
|
|
|
|
// ConnectionState mocks base method
|
|
func (m *MockMintTLS) ConnectionState() mint.ConnectionState {
|
|
ret := m.ctrl.Call(m, "ConnectionState")
|
|
ret0, _ := ret[0].(mint.ConnectionState)
|
|
return ret0
|
|
}
|
|
|
|
// ConnectionState indicates an expected call of ConnectionState
|
|
func (mr *MockMintTLSMockRecorder) ConnectionState() *gomock.Call {
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectionState", reflect.TypeOf((*MockMintTLS)(nil).ConnectionState))
|
|
}
|
|
|
|
// Handshake mocks base method
|
|
func (m *MockMintTLS) Handshake() mint.Alert {
|
|
ret := m.ctrl.Call(m, "Handshake")
|
|
ret0, _ := ret[0].(mint.Alert)
|
|
return ret0
|
|
}
|
|
|
|
// Handshake indicates an expected call of Handshake
|
|
func (mr *MockMintTLSMockRecorder) Handshake() *gomock.Call {
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Handshake", reflect.TypeOf((*MockMintTLS)(nil).Handshake))
|
|
}
|