public List<String[]> getPathHostMappings() {
        return pathHostMappings;
    }
@Test
    public void testHostMapping() {
        ExternalServiceConfig config = new ExternalServiceConfig();
        assert config.getPathHostMappings().size() == 4;

        if (config.getPathHostMappings() != null) {
            for (String[] parts : config.getPathHostMappings()) {
                if ("/sharepoint".startsWith(parts[0])) {
                    String endpoint = parts[0] + "@" + "post";
                    assert endpoint.equals("/sharepoint@post");
                }
            }
        }
    }