Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom ValueResolver which I want to unit test.
Problem is, the
Resolve
method getsResolutionContext
instead ofIResolutionContext
, so it's impossible to mock.And it has
internal
constructors so it's even impossible to just "new" as was suggested by @jbogard long time ago in #761, (probably the class was changed completely since 2015...)So, how can we Unit Test and mock the
ResolutionContext
today?Best,
Doron
Beta Was this translation helpful? Give feedback.
All reactions