In the previous post I’ve shown how to avoid hardcoding method names while setting up NMock stubs. Now it’s time for properties.
Read the rest of this entry »
When I’ve started using NMock in my new dotnetneural project I’ve faced with “magical” strings in stubs. Fortunately .NET 4 framework allows us to avoid them totally.
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 6 other followers