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

Allow Mock<T>.Raise to raise events on child mocks #397

Merged
merged 2 commits into from
Jun 28, 2017

Commits on Jun 27, 2017

  1. Add failing tests

    These three tests show that `Mock.Raise` does not correctly raise
    events of "child mocks" in an expression such as:
    
        mock.Raise(_ => _.Foo.Bar.Event += null, ...)
                             ^^^^^
    stakx committed Jun 27, 2017
    Configuration menu
    Copy the full SHA
    4b96fe5 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2017

  1. Configuration menu
    Copy the full SHA
    2b0ab3f View commit details
    Browse the repository at this point in the history