// Path: src/main/java/com/yelp/clientlib/exception/exceptions/YelpAPIError.java
// public abstract class YelpAPIError extends IOException {
//     private int code;
//     private String message;
//     private String text;
//     private String errorId;
// 
//     public int getCode() {
//         return code;
//     }
// 
//     @Override
//     public String getMessage() {
//         return message;
//     }
// 
//     public String getText() {
//         return text;
//     }
// 
//     public String getErrorId() {
//         return errorId;
//     }
// 
//     public YelpAPIError(int code, String message, String errorId, String text) {
//         this.code = code;
//         this.message = message;
//         this.errorId = errorId;
//         this.text = text;
//     }
// }


import com.yelp.clientlib.exception.exceptions.YelpAPIError;
import org.junit.Assert;
package com.yelp.clientlib.utils;



public class ErrorTestUtils {

    /**
     * Verify a {@link YelpAPIError} contains correct information.
     *
     * @param error         The YelpAPIError to be verified.
     * @param expectCode    Expected error code.
     * @param expectMessage Expected error message.
     * @param expectId      Expected error Id.
     * @param expectText    Expected error text.
     */
    public static void verifyErrorContent(
// Path: src/main/java/com/yelp/clientlib/exception/exceptions/YelpAPIError.java
// public abstract class YelpAPIError extends IOException {
//     private int code;
//     private String message;
//     private String text;
//     private String errorId;
// 
//     public int getCode() {
//         return code;
//     }
// 
//     @Override
//     public String getMessage() {
//         return message;
//     }
// 
//     public String getText() {
//         return text;
//     }
// 
//     public String getErrorId() {
//         return errorId;
//     }
// 
//     public YelpAPIError(int code, String message, String errorId, String text) {
//         this.code = code;
//         this.message = message;
//         this.errorId = errorId;
//         this.text = text;
//     }
// }


// Path: src/test/java/com/yelp/clientlib/utils/ErrorTestUtils.java
import com.yelp.clientlib.exception.exceptions.YelpAPIError;
import org.junit.Assert;

package com.yelp.clientlib.utils;



public class ErrorTestUtils {

    /**
     * Verify a {@link YelpAPIError} contains correct information.
     *
     * @param error         The YelpAPIError to be verified.
     * @param expectCode    Expected error code.
     * @param expectMessage Expected error message.
     * @param expectId      Expected error Id.
     * @param expectText    Expected error text.
     */
    public static void verifyErrorContent(
            YelpAPIError error,