Archives

Archives / 2010 / October
  • How to raise event for a mocked call.

    Recently, while i was working with a support issue , i found this interesting piece of test code that i would like to share here. This is actually written by Stefan Lieser (clean code developer from Germany forwarded to me by Jan from Telerik Germany). As the title states,  it is to mock a specific event for an expected call.