Added
ExpressionCompiler
: An extensibility point for setting up alternate LINQ expression tree compilation strategies (@stakx, #647)setup.CallBase()
forvoid
methods (@stakx, #664)VerifyNoOtherCalls
forMockRepository
(@BlythMeister, #682)
Changed
- Make
VerifyNoOtherCalls
take into account previous calls to parameterlessVerify()
andVerifyAll()
(@stakx, #659) - Breaking change:
VerifyAll
now succeeds after a call toSetupAllProperties
even when not all property accessors were invoked (stakx, #684)
Fixed
- More precise
out
parameter detection for mocking COM interfaces with[in,out]
parameters (@koutinho, #645) - Prevent false 'Different number of parameters' error with
Returns
callback methods that have been compiled fromExpression
s (@stakx, #654) Verify
exception should report configured setups for delegate mocks (@stakx, #679)Verify
exception should include complete call expression for delegate mocks (@stakx, #680)- Bug report #556: "Recursive setup expression creates ghost setups that make
VerifyAll
fail" (@stakx, #684) - Bug report #191: "Upgrade from 4.2.1409.1722 to 4.2.1507.0118 changed
VerifyAll
behavior" (@stakx, #684)