mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 11:17:35 -05:00
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info> Signed-off-by: James Humphries <james@james-humphries.co.uk> Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
101 lines
3.3 KiB
Go
101 lines
3.3 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: server_test.go
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -package http -source server_test.go -destination mock_server_test.go
|
|
//
|
|
|
|
// Package http is a generated GoMock package.
|
|
package http
|
|
|
|
import (
|
|
http "net/http"
|
|
reflect "reflect"
|
|
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockHttpServerCallback is a mock of HttpServerCallback interface.
|
|
type MockHttpServerCallback struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockHttpServerCallbackMockRecorder
|
|
}
|
|
|
|
// MockHttpServerCallbackMockRecorder is the mock recorder for MockHttpServerCallback.
|
|
type MockHttpServerCallbackMockRecorder struct {
|
|
mock *MockHttpServerCallback
|
|
}
|
|
|
|
// NewMockHttpServerCallback creates a new mock instance.
|
|
func NewMockHttpServerCallback(ctrl *gomock.Controller) *MockHttpServerCallback {
|
|
mock := &MockHttpServerCallback{ctrl: ctrl}
|
|
mock.recorder = &MockHttpServerCallbackMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockHttpServerCallback) EXPECT() *MockHttpServerCallbackMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// StateDELETE mocks base method.
|
|
func (m *MockHttpServerCallback) StateDELETE(req *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "StateDELETE", req)
|
|
}
|
|
|
|
// StateDELETE indicates an expected call of StateDELETE.
|
|
func (mr *MockHttpServerCallbackMockRecorder) StateDELETE(req any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateDELETE", reflect.TypeOf((*MockHttpServerCallback)(nil).StateDELETE), req)
|
|
}
|
|
|
|
// StateGET mocks base method.
|
|
func (m *MockHttpServerCallback) StateGET(req *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "StateGET", req)
|
|
}
|
|
|
|
// StateGET indicates an expected call of StateGET.
|
|
func (mr *MockHttpServerCallbackMockRecorder) StateGET(req any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateGET", reflect.TypeOf((*MockHttpServerCallback)(nil).StateGET), req)
|
|
}
|
|
|
|
// StateLOCK mocks base method.
|
|
func (m *MockHttpServerCallback) StateLOCK(req *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "StateLOCK", req)
|
|
}
|
|
|
|
// StateLOCK indicates an expected call of StateLOCK.
|
|
func (mr *MockHttpServerCallbackMockRecorder) StateLOCK(req any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateLOCK", reflect.TypeOf((*MockHttpServerCallback)(nil).StateLOCK), req)
|
|
}
|
|
|
|
// StatePOST mocks base method.
|
|
func (m *MockHttpServerCallback) StatePOST(req *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "StatePOST", req)
|
|
}
|
|
|
|
// StatePOST indicates an expected call of StatePOST.
|
|
func (mr *MockHttpServerCallbackMockRecorder) StatePOST(req any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StatePOST", reflect.TypeOf((*MockHttpServerCallback)(nil).StatePOST), req)
|
|
}
|
|
|
|
// StateUNLOCK mocks base method.
|
|
func (m *MockHttpServerCallback) StateUNLOCK(req *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "StateUNLOCK", req)
|
|
}
|
|
|
|
// StateUNLOCK indicates an expected call of StateUNLOCK.
|
|
func (mr *MockHttpServerCallbackMockRecorder) StateUNLOCK(req any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StateUNLOCK", reflect.TypeOf((*MockHttpServerCallback)(nil).StateUNLOCK), req)
|
|
}
|