X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=E2Manager%2Fmocks%2FrnibWriterMock.go;h=3503d104b9efa8c918f8e295477faaae7e006ba9;hb=refs%2Fchanges%2F43%2F4143%2F1;hp=9e1070eccd18c5ec8d53d543592f570ec2357b46;hpb=f846c5987cd35da745534e26ac3a22bdcf8b030a;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/rnibWriterMock.go b/E2Manager/mocks/rnibWriterMock.go index 9e1070e..3503d10 100644 --- a/E2Manager/mocks/rnibWriterMock.go +++ b/E2Manager/mocks/rnibWriterMock.go @@ -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,25 @@ 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) +} + +func (rnibWriterMock *RnibWriterMock) RemoveServedNrCells(inventoryName string, servedNrCells []*entities.ServedNRCell) error { + args := rnibWriterMock.Called(inventoryName, servedNrCells) + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) UpdateNodebInfoOnConnectionStatusInversion(nodebInfo *entities.NodebInfo, stateChangeMessageChannel string, event string) error { + args := rnibWriterMock.Called(nodebInfo, stateChangeMessageChannel, event) + + return args.Error(0) +} + +func (rnibWriterMock *RnibWriterMock) SaveGeneralConfiguration(config *entities.GeneralConfiguration) error { + args := rnibWriterMock.Called(config) + + return args.Error(0) +} \ No newline at end of file