Drop Nokia from file header copyright line
[portal/ric-dashboard.git] / e2-mgr-client / src / test / java / org / oransc / ric / portal / dashboard / e2mgr / client / test / E2ManagerClientTest.java
index 7916cb9..14e5258 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 AT&T Intellectual Property and Nokia
+ * Copyright (C) 2019 AT&T Intellectual Property
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,6 +19,7 @@
  */
 package org.oransc.ric.portal.dashboard.e2mgr.client.test;
 
+import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.Test;
 import org.oransc.ric.e2mgr.client.api.HealthCheckApi;
 import org.oransc.ric.e2mgr.client.invoker.ApiClient;
@@ -39,6 +40,7 @@ public class E2ManagerClientTest {
                try {
                        healthApi.healthGet();
                        System.out.println("getHealth answered: " + apiClient.getStatusCode().toString());
+                       Assertions.assertTrue(apiClient.getStatusCode().is2xxSuccessful());
                } catch (RestClientException e) {
                        System.err.println("getHealth failed: " + e.toString());
                }