forked from cloudfoundry/libbuildpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmocks_hooks_test.go
50 lines (40 loc) · 1.18 KB
/
mocks_hooks_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Automatically generated by MockGen. DO NOT EDIT!
// Source: hooks.go
package libbuildpack_test
import (
. "github.com/cloudfoundry/libbuildpack"
gomock "github.com/golang/mock/gomock"
)
// Mock of Hook interface
type MockHook struct {
ctrl *gomock.Controller
recorder *_MockHookRecorder
}
// Recorder for MockHook (not exported)
type _MockHookRecorder struct {
mock *MockHook
}
func NewMockHook(ctrl *gomock.Controller) *MockHook {
mock := &MockHook{ctrl: ctrl}
mock.recorder = &_MockHookRecorder{mock}
return mock
}
func (_m *MockHook) EXPECT() *_MockHookRecorder {
return _m.recorder
}
func (_m *MockHook) BeforeCompile(_param0 *Stager) error {
ret := _m.ctrl.Call(_m, "BeforeCompile", _param0)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockHookRecorder) BeforeCompile(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "BeforeCompile", arg0)
}
func (_m *MockHook) AfterCompile(_param0 *Stager) error {
ret := _m.ctrl.Call(_m, "AfterCompile", _param0)
ret0, _ := ret[0].(error)
return ret0
}
func (_mr *_MockHookRecorder) AfterCompile(arg0 interface{}) *gomock.Call {
return _mr.mock.ctrl.RecordCall(_mr.mock, "AfterCompile", arg0)
}