[RIC-432] - Support Update eNB REST API.

Change-Id: I1bca32a371dd001e6edebe21728d9c68f4c9ea80
Signed-off-by: Irina <ib565x@intl.att.com>
diff --git a/E2Manager/httpserver/http_server_test.go b/E2Manager/httpserver/http_server_test.go
index 6378f8c..fbaecbe 100644
--- a/E2Manager/httpserver/http_server_test.go
+++ b/E2Manager/httpserver/http_server_test.go
@@ -41,6 +41,7 @@
 	nodebControllerMock.On("SetGeneralConfiguration").Return(nil)
 	nodebControllerMock.On("DeleteEnb").Return(nil)
 	nodebControllerMock.On("AddEnb").Return(nil)
+	nodebControllerMock.On("UpdateEnb").Return(nil)
 
 	e2tControllerMock := &mocks.E2TControllerMock{}
 
@@ -118,6 +119,19 @@
 	nodebControllerMock.AssertNumberOfCalls(t, "SetGeneralConfiguration", 1)
 }
 
+func TestRoutePutUpdateEnb(t *testing.T) {
+	router, _, nodebControllerMock, _ := setupRouterAndMocks()
+
+	req, err := http.NewRequest("PUT", "/v1/nodeb/enb/ran1", nil)
+	if err != nil {
+		t.Fatal(err)
+	}
+	rr := httptest.NewRecorder()
+	router.ServeHTTP(rr, req)
+
+	nodebControllerMock.AssertNumberOfCalls(t, "UpdateEnb", 1)
+}
+
 func TestRouteNotFound(t *testing.T) {
 	router, _, _, _ := setupRouterAndMocks()