You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
Writing unit tests requires creating the following structures, to override rpc calls from client:
rpc.PutRequestWriter
rpc.GetResponseReader
rpc.ObjectRangeResponseReader
rpc.SearchResponseReader
The problem is, these structures contain private fields of public types and there is no way (neither constructor nor setter) to set them up outside api-go. Without them, some client methods can't be tested without real node