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=086691323016a409a53df7ca6f52339641a19063;hp=87cb8f3bc7dece20aec11a4605e2d123b207870c;hpb=5f208b14c6685e2f70897c16da848f8f0ef73a90;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 87cb8f3..db1915a 100644 --- a/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.go +++ b/E2Manager/providers/httpmsghandlerprovider/incoming_request_handler_provider_test.go @@ -82,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)