google-cloud-java
google-cloud-java copied to clipboard
How can i mock or create a stub TableResult for unit test?
I am trying to create an TableResult object for unit test but I couldn't do it. Do you have any example that I can refer to ?
Hi @erdemontas, apologies for the delayed response. We were not actively monitoring this repo's issues.
Can you share some error messages or code snippets that show TableResult not being created/ instantiated/ used properly in your unit tests?
We do have docs on our GCP reference website that use TableResult (i.e. https://cloud.google.com/bigquery/docs/writing-results#writing_large_results_using_legacy_sql). Couldn't find any examples of it being used in unit tests though.