Moq v4.14.7 Release Notes

Release Date: 2020-10-14 // over 3 years ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ“š Mocks created by DefaultValue.Mock now inherit SetupAllProperties from their "parent" mock (like it says in the XML documentation) (@stakx, #1074)

    ๐Ÿ›  Fixed

    • Setup not triggered due to VB.NET transparently inserting superfluous type conversions into a setup expression (@InteXX, #1067)
    • ๐Ÿคก Nested mocks created by Mock.Of<T>() no longer have their properties stubbed since version 4.14.0 (@vruss, @1071)
    • Verify fails for recursive setups not explicitly marked as Verifiable (@killergege, #1073)
    • ๐Ÿคก Mock.Of<> fails for COM interop types that are annotated with a [CompilerGenerated] custom attribute (@killergege, #1072)