[RIC-298] Add Update GNB impl.
[ric-plt/e2mgr.git] / E2Manager / mocks / rnibWriterMock.go
index 9e1070e..8fb5403 100644 (file)
@@ -17,7 +17,6 @@
 //  This source code is part of the near-RT RIC (RAN Intelligent Controller)
 //  platform project (RICP).
 
-
 package mocks
 
 import (
@@ -82,3 +81,8 @@ func (rnibWriterMock *RnibWriterMock) RemoveE2TInstance(address string) error {
 
        return args.Error(0)
 }
+
+func (rnibWriterMock *RnibWriterMock) UpdateGnbCells(nodebInfo *entities.NodebInfo, servedNrCells []*entities.ServedNRCell) error {
+       args := rnibWriterMock.Called(nodebInfo, servedNrCells)
+       return args.Error(0)
+}