X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2FrnibReaderMock.go;fp=E2Manager%2Fmocks%2FrnibReaderMock.go;h=fc98987cb62cdb4401a3a5568b1b3c3a93e82b58;hb=57c3faebe7df51f7da6dcdcc6ae03927f380d1e4;hp=20bad280dd33dab7f32c03d29a56cb92ace71e0f;hpb=19bf35ea1556e746bbcbcaa8090033bd38fe71b7;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