﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Shaun Cartwright commented on Rhino Mocks Events: Twisting the Syntax</title><description>Sorry Ayende, I was referring to the comment by @Adam. Complaining about having to wire up the expectation of handling other events to null. I believe it was a comment to the mocking framework in general. The solution to this, of course, is to use dynamic mocks to setup expectations to the specific test case in hand.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment9</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment9</guid><pubDate>Mon, 11 Jun 2007 09:02:08 GMT</pubDate></item><item><title>Ayende Rahien commented on Rhino Mocks Events: Twisting the Syntax</title><description>Can you explain it again?
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment8</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment8</guid><pubDate>Mon, 11 Jun 2007 08:45:25 GMT</pubDate></item><item><title>Shaun Cartwright commented on Rhino Mocks Events: Twisting the Syntax</title><description>That's what dynamic mocks are for.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment7</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment7</guid><pubDate>Mon, 11 Jun 2007 07:47:59 GMT</pubDate></item><item><title>Adam Dymitruk commented on Rhino Mocks Events: Twisting the Syntax</title><description>Another annoyance that some people raise is having to hook up a null to the rest of the events, even the ones that we are not interested in.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment6</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment6</guid><pubDate>Sun, 10 Jun 2007 20:46:18 GMT</pubDate></item><item><title>Ayende Rahien commented on Rhino Mocks Events: Twisting the Syntax</title><description>Roy,
  
Much as I would like it to be this way, the compiler will give an error on this code.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment5</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment5</guid><pubDate>Sat, 09 Jun 2007 10:41:28 GMT</pubDate></item><item><title>Ayende Rahien commented on Rhino Mocks Events: Twisting the Syntax</title><description>Roy,
  
Much as I would like it to be this way, the compiler will give an error on this code.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment4</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment4</guid><pubDate>Sat, 09 Jun 2007 10:41:24 GMT</pubDate></item><item><title>Ayende Rahien commented on Rhino Mocks Events: Twisting the Syntax</title><description>Roy,
  
Much as I would like it to be this way, the compiler will give an error on this code.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment3</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment3</guid><pubDate>Sat, 09 Jun 2007 10:41:12 GMT</pubDate></item><item><title>Ayende Rahien commented on Rhino Mocks Events: Twisting the Syntax</title><description>Roy,
  
Much as I would like it to be this way, the compiler will give an error on this code.
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment2</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment2</guid><pubDate>Sat, 09 Jun 2007 10:33:39 GMT</pubDate></item><item><title>Roy Osherove commented on Rhino Mocks Events: Twisting the Syntax</title><description>Isn't it possible to do EventRaiser.GetRaiser(obj.Bar)? where GetRaiser takes in a MultiCast Delegate?
</description><link>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment1</link><guid>http://ayende.com/2532/rhino-mocks-events-twisting-the-syntax#comment1</guid><pubDate>Sat, 09 Jun 2007 09:18:57 GMT</pubDate></item></channel></rss>