Expressions that are shown in textual format for unmatched calls are unclear and clunky, look to see if they can be improved.
Current c => c.Query<Car>(Match.Create<String>(, () => ""incorrect sql""), It.IsAny<Object>(), It.IsAny<IDbTransaction>(), True, null, null)
Example (as also shown by Moq)
MockDatabase.Query<Car>(""select *
from [Cars]
order by Make, Model"", <No command parameters>, null, True, null, null)
See FailureMessages.cs
It may not be possible, because Match.Create() is required to permit the flexible comparison on SQL text and the parameters object.
Expressions that are shown in textual format for unmatched calls are unclear and clunky, look to see if they can be improved.
Current
c => c.Query<Car>(Match.Create<String>(, () => ""incorrect sql""), It.IsAny<Object>(), It.IsAny<IDbTransaction>(), True, null, null)Example (as also shown by Moq)
See
FailureMessages.csIt may not be possible, because Match.Create() is required to permit the flexible comparison on SQL text and the parameters object.