Replies: 1 comment 1 reply
-
Seem to be good points to me. Will deal with in #509. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have a solution with the SipSourcery project imported. I need to set the LookupClient in SIPDns and/or the ResolveSIPUriInternalAsync in SipTransport. The problem is that they are internals, despite there are suggestions they should be set when doing unit testing.
One solution would be to add [assembly: InternalsVisibleTo("name of assembly here")] in the SipSourcery project, but I really don't want to fork just because of this? Wouldn't it be appropriate to change the setters to be public?
Wouldn't also be more appropriate to use the interface "ILookupClient" to be able to mock?
Beta Was this translation helpful? Give feedback.
All reactions