@Test public void testViewExternalIdentifiersHtml() { when(mockServiceDelegator.findExternalIdentifiersFromPublicCache(any(String.class))) .thenReturn(successResponse); Response response = t1OrcidApiService.viewExternalIdentifiersHtml("orcid"); assertEquals(200, response.getStatus()); }