OcrResponse implements Serializable { @Nullable public String getError() { return error; } OcrResponse();  OcrResponse(OcrResponseField<Double> totalAmount, OcrResponseField<Double> taxAmount,
                       OcrResponseField<String> currency, OcrResponseField<String> date,
                       OcrResponseField<String> merchantName, OcrResponseField<List<String>> merchantTypes,
                       Double confidenceLevel, String error); @Nullable OcrResponseField<Double> getTotalAmount(); @Nullable OcrResponseField<Double> getTaxAmount(); @Nullable OcrResponseField<String> getCurrency(); @Nullable OcrResponseField<String> getDate(); @Nullable OcrResponseField<String> getMerchant(); @Nullable OcrResponseField<List<String>> getMerchantTypes(); @Nullable Double getConfidenceLevel(); @Nullable String getError(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void error() { assertEquals("string", response.getError()); }