Refactor of an AAIRestInterface
[vid.git] / vid-app-common / src / test / java / org / onap / vid / testUtils / TestUtils.java
index 175f87f..0460f53 100644 (file)
@@ -133,6 +133,7 @@ public class TestUtils {
             Mockito.when(fakeBuilder.get(any(GenericType.class))).thenReturn(null);
 
             Mockito.when(fakeResponse.getStatus()).thenReturn(200);
+            Mockito.when(fakeResponse.getStatusInfo()).thenReturn(Response.Status.OK);
             Mockito.when(fakeResponse.readEntity(Service.class)).thenReturn(null);
         }
     }