cli_tools/common/mount/mock_mount_inspector.go (31 lines of code) (raw):
// Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by MockGen. DO NOT EDIT.
// Source: inspector.go
// Package mount is a generated GoMock package.
package mount
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockInspector is a mock of Inspector interface.
type MockInspector struct {
ctrl *gomock.Controller
recorder *MockInspectorMockRecorder
}
// MockInspectorMockRecorder is the mock recorder for MockInspector.
type MockInspectorMockRecorder struct {
mock *MockInspector
}
// NewMockInspector creates a new mock instance.
func NewMockInspector(ctrl *gomock.Controller) *MockInspector {
mock := &MockInspector{ctrl: ctrl}
mock.recorder = &MockInspectorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInspector) EXPECT() *MockInspectorMockRecorder {
return m.recorder
}
// Inspect mocks base method.
func (m *MockInspector) Inspect(dir string) (InspectionResults, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Inspect", dir)
ret0, _ := ret[0].(InspectionResults)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Inspect indicates an expected call of Inspect.
func (mr *MockInspectorMockRecorder) Inspect(dir interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Inspect", reflect.TypeOf((*MockInspector)(nil).Inspect), dir)
}