Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent auto-stubbing failure due to inaccessible property accessors (d…
…evlooped#847) 1. Add regression tests for lazy `SetupAllProperties` There are two groups of tests here: * Those that test `SetupAllProperties` (called either directly, or implicitly through `Mock.Of<T>`) followed by a property acces. This reflects `SetupAllProperties`' current implementation, which only sets up properties upon their first access (just-in-time). * Those that test `SetupAllProperties` itself, without any property access. Unsurprisingly, these currently pass, but the tests are still good to have in case we ever return `SetupAllProperties` to a ahead-of-time batch operation implementation. 2. Fix regression by checking accessor visibility 3. Update the changelog
- Loading branch information