### Question:
RestApiAdminClient { public String getServerContext() throws AxisFault { try { String returnValue = ReadWSDLPrefix(); if (returnValue != null && !returnValue.isEmpty()) { return returnValue; } else { return stub.getServerContext(); } } catch (Exception e) { handleException(bundle.getString("failed.to.get.servercontext"), e); } return null; } RestApiAdminClient(ConfigurationContext configCtx, String backendServerURL,
            String cookie, Locale locale); String[] getApiNames(); APIData getApiByName(String apiName); APIData[] getAPIsForListing(int pageNumber, int itemsPerPage); APIData[] getAPIsForSearchListing(int pageNumber, int itemsPerPage, String searchText); int getAPICount(); void deleteApi(String apiName); void addApi(APIData apiData); void updateApi(APIData apiData); String[] getDefinedSequences(); String getApiSource(APIData apiData); String getResourceSource(ResourceData resourceData); void addApiFromString(String apiData); void updateApiFromString(String apiName, String apiData); String getServerContext(); void deleteSelectedApi(String[] apiNames); void deleteAllApi(); String enableStatistics(String apiName); String disableStatistics(String apiName); String enableTracing(String apiName); String disableTracing(String apiName); String updateSwaggerDocument(String apiName, String swaggerDefinition, int tenantId); String addSwaggerDocument(String apiName, String swaggerDefinition, int tenantId); String getSwaggerDocument(String apiName, int tenantId); String generateAPIFromSwagger(String swaggerJsonString); String generateUpdatedAPIFromSwagger(String swaggerJsonString, String existingApiName);  }### Answer:
@Test public void getServerContext() throws AxisFault { String pathToAxis2Xml = getClass().getResource("/").getPath(); System.setProperty(CONF_LOCATION, pathToAxis2Xml); RestApiAdminClient restApiAdminClient = Mockito.mock(RestApiAdminClient.class); Mockito.when(restApiAdminClient.getServerContext()).thenCallRealMethod(); String serverContext = restApiAdminClient.getServerContext(); Assert.assertEquals("WSDLEPRPrefix not returned for API", "https: }