Fix UT and change function to private

Fix UT and change function to private

Signed-off-by: naman.gupta <naman.gupta@samsung.com>
Change-Id: Id045e21945249764ad31d2417e11288fee5f870b
diff --git a/a1-go/pkg/restful/restful.go b/a1-go/pkg/restful/restful.go
index b7e2094..f34a5ad 100644
--- a/a1-go/pkg/restful/restful.go
+++ b/a1-go/pkg/restful/restful.go
@@ -90,9 +90,9 @@
 			return a1_mediator.NewA1ControllerGetPolicyInstanceOK().WithPayload(resp)
 		}
 		if r.rh.IsPolicyInstanceNotFound(err) {
-			return a1_mediator.NewA1ControllerGetPolicyInstanceNotFound
+			return a1_mediator.NewA1ControllerGetPolicyInstanceNotFound()
 		}
-		return a1_mediator.NewA1ControllerGetPolicyInstanceServiceUnavailable
+		return a1_mediator.NewA1ControllerGetPolicyInstanceServiceUnavailable()
 	})
 
 	api.A1MediatorA1ControllerGetAllInstancesForTypeHandler = a1_mediator.A1ControllerGetAllInstancesForTypeHandlerFunc(func(params a1_mediator.A1ControllerGetAllInstancesForTypeParams) middleware.Responder {