private boolean validatePath(ExchangeTestbed.Case CASE, String path, boolean isLocal) {
        String result;
        if (isLocal) {
            result = ExchangeTestbed.expectedLocalPath(CASE);
        } else {
            result = ExchangeTestbed.expectedRemotePath(CASE);
        }
        return path.compareTo(result) == 0;
    }