Skip to content

Changes made between 4.14.7 and 4.15.1 break exception handling #1519

Open
@jnanneng2

Description

@jnanneng2

Describe the Bug

Changes made to Moq between 4.14.7 and 4.15.1 break application exception handling.

Steps to Reproduce

Using the attached MoqTestScenario.zip, build the project then run the test in UnitTest1. Note, the test succeeds (the project is configured to Moq v4.14.7).

Update the Moq version to 4.15.1:
(Right click the project, then Manage NuGet packages. Within the installed packages, select Moq, select version 4.15.1, then 'Update', etc...)

Rebuild the solution, run the test. Note the test now fails.

Expected Behavior

The test noted should still pass; i.e. not encounter any failure.

Version Info

MoqTestScenario.zip

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions