We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm currently adding unit tests and I'm now facing the problem in which I need to mock: 'gortsplib.ServerSession'
I've tried to create my own 'wrapper'/interface.
However, not all methods can be defined (since some types are not exported).
Example: SetuppedMedias() media.Medias
How, can we mock this struct ? Could you consider adding an interface around it ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm currently adding unit tests and I'm now facing the problem in which I need to mock:
'gortsplib.ServerSession'
I've tried to create my own 'wrapper'/interface.
However, not all methods can be defined (since some types are not exported).
Example:
SetuppedMedias() media.Medias
How, can we mock this struct ?
Could you consider adding an interface around it ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: