public void throwExceptionOnGetPath(boolean throwExceptionOnGetPath) {
    this.throwExceptionOnGetPath = throwExceptionOnGetPath;
  }
@param throwExceptionOnGetPath If {@code True}, throws {@link IllegalArgumentException} on {@link this#getPath()}
                               call
ambry-test-utils/src/main/java/com/github/ambry/rest/MockRestRequest.java