X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fmocks%2Fran_list_manager_mock.go;h=11c83050f4c84f93a4322a9f11aa01fcde0707ad;hb=d2f1a29d3f1cc779045148a82729f644e6110776;hp=415368127ab3b41d40ef953b2dd4f3b356f7a01b;hpb=f52319be7df4b8cce5f9aef8c51e35add3003987;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/mocks/ran_list_manager_mock.go b/E2Manager/mocks/ran_list_manager_mock.go index 4153681..11c8305 100644 --- a/E2Manager/mocks/ran_list_manager_mock.go +++ b/E2Manager/mocks/ran_list_manager_mock.go @@ -1,6 +1,7 @@ // // Copyright 2019 AT&T Intellectual Property // Copyright 2019 Nokia +// Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,6 +61,11 @@ func (m *RanListManagerMock) GetNbIdentityList() []*entities.NbIdentity { return args.Get(0).([]*entities.NbIdentity) } +func (m *RanListManagerMock) GetNbIdentity(ranName string) (*entities.NbIdentity, error) { + args := m.Called(ranName) + return args.Get(0).(*entities.NbIdentity), args.Error(1) +} + func (m *RanListManagerMock) UpdateHealthcheckTimeStampSent(oldRRanName string) (*entities.NbIdentity, *entities.NbIdentity){ args := m.Called(oldRRanName) return args.Get(0).(*entities.NbIdentity), args.Get(1).(*entities.NbIdentity)