Debian Codegraph @

mocks/pkg/fixtures/UsesOtherPkgIface.go

raw symbols SCIP
1 // Code generated by mockery. DO NOT EDIT.
2
3 package mocksscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/
4
5 import (
6 mockscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/ "github.com/stretchr/testify/mockscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/"
7 testscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/pkg/fixtures`/ "github.com/vektra/mockery/v2/pkg/fixturesscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/pkg/fixtures`/"
8 )
9
10 // UsesOtherPkgIface is an autogenerated mock type for the UsesOtherPkgIface type
11 type UsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface# struct {
12 mockscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/.Mockscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface#Mock.
13 }
14
15 // DoSomethingElse provides a mock function with given fields: obj
16 func (_m *UsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface#) DoSomethingElsescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface#DoSomethingElse().(obj testscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/pkg/fixtures`/.Siblingscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/pkg/fixtures`/Sibling#) {
17 _m.Calledscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/Mock#Called().(obj)
18 }
19
20 type mockConstructorTestingTNewUsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/mockConstructorTestingTNewUsesOtherPkgIface# interface {
21 mockscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/.TestingTscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/TestingT#
22 Cleanupscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/mockConstructorTestingTNewUsesOtherPkgIface#Cleanup.(func())
23 }
24
25 // NewUsesOtherPkgIface creates a new instance of UsesOtherPkgIface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
26 func NewUsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/NewUsesOtherPkgIface().(t mockConstructorTestingTNewUsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/mockConstructorTestingTNewUsesOtherPkgIface#) *UsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface# {
27 mock := &UsesOtherPkgIfacescip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface#{}
28 mock.Mockscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/UsesOtherPkgIface#Mock..Testscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/Mock#Test().(t)
29
30 t.Cleanupscip-go gomod github.com/vektra/mockery/v2 . `github.com/vektra/mockery/v2/mocks/pkg/fixtures`/mockConstructorTestingTNewUsesOtherPkgIface#Cleanup.(func() { mock.AssertExpectationsscip-go gomod github.com/stretchr/testify v1.7.2 `github.com/stretchr/testify/mock`/Mock#AssertExpectations().(t) })
31
32 return mock
33 }