Wednesday October 7th

Tuesday October 6th

0 Kicks

Part 2 - Basic of mocking with Moq

As every mocking framework, except TypeMock which can perform differently, every mocked class can't be sealed and methods that need to be mocked need to be public. If the class is not inheriting from an interface, the method that are being mocked need to be virtual. Once this is cleared... let's show a simple example of a Product having it's price calculated with a Tax Calculator.


Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network