    @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://apachehost:port/somepath", serverContext);
    }