Skip to content
New issue

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

Let .As<T> mocks generate same proxy as the uncast mock #460

Merged
merged 3 commits into from
Sep 28, 2017

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Sep 28, 2017

This closes #458.

This one shows that if a mock is "cast" to an interface before its
object is queried, and the proxy is then generated via the `.As<T>`
mock, then an proxy object is created that is different from the
proxy object retrieved from the original, uncast mock.
@stakx stakx merged commit 664078f into devlooped:develop Sep 28, 2017
@stakx stakx deleted the asinterface-instantiation-bug branch September 28, 2017 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant