diff options
Diffstat (limited to 'POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java')
-rw-r--r-- | POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java b/POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java index b4a4130ab..eccab040c 100644 --- a/POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java +++ b/POLICY-SDK-APP/src/test/java/org/onap/policy/controller/AdminTabControllerTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP Policy Engine * ================================================================================ - * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017, 2019-2020 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Modifications Copyright (C) 2019 Samsung * ================================================================================ @@ -115,7 +115,7 @@ public class AdminTabControllerTest { @Test public void testGetAdminTabEntityDataException() throws IOException { HttpServletResponse mockResponse = Mockito.mock(HttpServletResponse.class); - when(mockResponse.getWriter()).thenThrow(Exception.class); + when(mockResponse.getWriter()).thenThrow(IOException.class); admin.getAdminTabEntityData(request, mockResponse); verify(mockResponse).getWriter(); } |