SaveNodeb API has been changed, tests fixed
[ric-plt/e2mgr.git] / E2Manager / mocks / rnibReaderMock.go
index 20bad28..fc98987 100644 (file)
@@ -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