7aab2f7873c37cd1a8ce234ce01982303bb5f9e9
[nonrtric/rapp/orufhrecovery.git] / goversion / mocks / LookupService.go
1 // -
2 //   ========================LICENSE_START=================================
3 //   O-RAN-SC
4 //   %%
5 //   Copyright (C) 2021-2022: Nordix Foundation
6 //   %%
7 //   Licensed under the Apache License, Version 2.0 (the "License");
8 //   you may not use this file except in compliance with the License.
9 //   You may obtain a copy of the License at
10 //
11 //        http://www.apache.org/licenses/LICENSE-2.0
12 //
13 //   Unless required by applicable law or agreed to in writing, software
14 //   distributed under the License is distributed on an "AS IS" BASIS,
15 //   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 //   See the License for the specific language governing permissions and
17 //   limitations under the License.
18 //   ========================LICENSE_END===================================
19 //
20
21 // Code generated by mockery v1.0.0. DO NOT EDIT.
22
23 package mocks
24
25 import mock "github.com/stretchr/testify/mock"
26
27 // LookupService is an autogenerated mock type for the LookupService type
28 type LookupService struct {
29         mock.Mock
30 }
31
32 // GetODuID provides a mock function with given fields: oRuId
33 func (_m *LookupService) GetODuID(oRuId string) (string, error) {
34         ret := _m.Called(oRuId)
35
36         var r0 string
37         if rf, ok := ret.Get(0).(func(string) string); ok {
38                 r0 = rf(oRuId)
39         } else {
40                 r0 = ret.Get(0).(string)
41         }
42
43         var r1 error
44         if rf, ok := ret.Get(1).(func(string) error); ok {
45                 r1 = rf(oRuId)
46         } else {
47                 r1 = ret.Error(1)
48         }
49
50         return r0, r1
51 }
52
53 // Init provides a mock function with given fields:
54 func (_m *LookupService) Init() error {
55         ret := _m.Called()
56
57         var r0 error
58         if rf, ok := ret.Get(0).(func() error); ok {
59                 r0 = rf()
60         } else {
61                 r0 = ret.Error(0)
62         }
63
64         return r0
65 }