X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fproviders%2Fhttpmsghandlerprovider%2Fincoming_request_handler_provider_test.go;h=db1915a92e6f446bf84964f01fb51f120b04896d;hb=0fb24ff00209041b316352327e2c73b699943131;hp=a692db05f4c9657052110b6a9a8795101b5bbc71;hpb=fe8d481d7f3e8d4b889ee3dcd995984eeb64cc6e;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.go b/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.go index a692db0..db1915a 100644 --- a/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.go +++ b/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.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. @@ -81,6 +82,18 @@ func TestShutdownRequestHandler(t *testing.T) { assert.True(t, ok) } +func TestGetNodebIdRequestHandler(t *testing.T) { + provider := setupTest(t) + handler, err := provider.GetHandler(GetNodebIdRequest) + + assert.NotNil(t, provider) + assert.Nil(t, err) + + _, ok := handler.(*httpmsghandlers.GetNodebIdRequestHandler) + + assert.True(t, ok) +} + func TestSetGeneralConfigurationHandler(t *testing.T) { provider := setupTest(t) handler, err := provider.GetHandler(SetGeneralConfigurationRequest)