github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/environmentscleanup/automock/ProvisionerClient.go (about) 1 // Code generated by mockery v2.14.0. DO NOT EDIT. 2 3 package mocks 4 5 import mock "github.com/stretchr/testify/mock" 6 7 // ProvisionerClient is an autogenerated mock type for the ProvisionerClient type 8 type ProvisionerClient struct { 9 mock.Mock 10 } 11 12 // DeprovisionRuntime provides a mock function with given fields: accountID, runtimeID 13 func (_m *ProvisionerClient) DeprovisionRuntime(accountID string, runtimeID string) (string, error) { 14 ret := _m.Called(accountID, runtimeID) 15 16 var r0 string 17 if rf, ok := ret.Get(0).(func(string, string) string); ok { 18 r0 = rf(accountID, runtimeID) 19 } else { 20 r0 = ret.Get(0).(string) 21 } 22 23 var r1 error 24 if rf, ok := ret.Get(1).(func(string, string) error); ok { 25 r1 = rf(accountID, runtimeID) 26 } else { 27 r1 = ret.Error(1) 28 } 29 30 return r0, r1 31 } 32 33 type mockConstructorTestingTNewProvisionerClient interface { 34 mock.TestingT 35 Cleanup(func()) 36 } 37 38 // NewProvisionerClient creates a new instance of ProvisionerClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. 39 func NewProvisionerClient(t mockConstructorTestingTNewProvisionerClient) *ProvisionerClient { 40 mock := &ProvisionerClient{} 41 mock.Mock.Test(t) 42 43 t.Cleanup(func() { mock.AssertExpectations(t) }) 44 45 return mock 46 }