X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=E2Manager%2Fmocks%2FrnibReaderMock.go;h=fc98987cb62cdb4401a3a5568b1b3c3a93e82b58;hb=42e14a1d817bf22abd9af45aebb165a8d4f10cfc;hp=20bad280dd33dab7f32c03d29a56cb92ace71e0f;hpb=07ef76dd471a0892a893c90e0ab06713aee34be1;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/rnibReaderMock.go b/E2Manager/mocks/rnibReaderMock.go index 20bad28..fc98987 100644 --- a/E2Manager/mocks/rnibReaderMock.go +++ b/E2Manager/mocks/rnibReaderMock.go @@ -135,4 +135,16 @@ func (m *RnibReaderMock) GetListNodebIds()([]*entities.NbIdentity, common.IRNibE } return args.Get(0).([]*entities.NbIdentity), nil +} + +func (m *RnibReaderMock) GetRanLoadInformation(inventoryName string) (*entities.RanLoadInformation, common.IRNibError){ + args := m.Called() + + errArg := args.Get(1) + + if errArg != nil { + return args.Get(0).(*entities.RanLoadInformation), errArg.(common.IRNibError) + } + + return args.Get(0).(*entities.RanLoadInformation), nil } \ No newline at end of file