How to verify calls expectations after some point using RhinoMocks


Hi guys. Few weeks ago when I was writing unit tests using RhinoMocks and NUnit I got some special test case – I needed to assert that one method of class under test calls method of another instance while test setup requires execution of code that already calls this method.

Continue reading

How to listen for Changes in Dependency Properties


Hi guys. Do you know that WPF bindings feature requires target properties to implement special type of WPF specific property – dependency property.

If you have some experience with WPF, this should not be surprise for you. Here I’m going to show how you can utilize this type of property in order to listen for changes in it. Let’s get started.

Continue reading