<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Rhino.Mocks Google Group</title>
  <link>http://groups.google.com/group/rhinomocks</link>
  <description>A discussion list about Rhino Mocks - an advance mock objects framework for the .Net framework. http://www.ayende.com/projects/rhino-mocks.aspx</description>
  <language>en</language>
  <item>
  <title>Re: Problem with stub and outref</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/fb2a09d055591ce5/6b8a853ac4a5ee91?show_docid=6b8a853ac4a5ee91</link>
  <description>
  Sorry for this late reply to this thread... But there was indeed no &lt;br&gt; problem &lt;br&gt; with the test, the ErrorMessages was set twice in the code. &lt;br&gt; Kind Regards &lt;br&gt; Robert
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/fb2a09d055591ce5/6b8a853ac4a5ee91?show_docid=6b8a853ac4a5ee91</guid>
  <author>
  robertbl...@gmail.com
  (devghost)
  </author>
  <pubDate>Fri, 08 Jan 2010 13:02:46 UT
</pubDate>
  </item>
  <item>
  <title>Re: RhinoMocks AAA extensions for VB.Net ?</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/b0992450d8dad0be/3d61b0aca2aa4111?show_docid=3d61b0aca2aa4111</link>
  <description>
  Did you figure this out? If not, here is what I do (regarding the &lt;br&gt; first problem), create &lt;br&gt; a fake function that can be used in the Lambda expression. It&#39;s way &lt;br&gt; more ugly but it makes it work in VB. &lt;br&gt; Here&#39;s an example, in the FakeErrorMessage i call the method or &lt;br&gt; property that doesn&#39;t have &lt;br&gt; ant return value...
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/b0992450d8dad0be/3d61b0aca2aa4111?show_docid=3d61b0aca2aa4111</guid>
  <author>
  robertbl...@gmail.com
  (devghost)
  </author>
  <pubDate>Fri, 08 Jan 2010 12:58:28 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/d3607d90003ea31c?show_docid=d3607d90003ea31c</link>
  <description>
  Wigman, &lt;br&gt; from the tone of your response it seems that I have somehow offended &lt;br&gt; you. This was not my intention, I was merely attempting to highlight &lt;br&gt; the fact that had the code been develped in a TDD fashion you would &lt;br&gt; not have encountered this issue.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/d3607d90003ea31c?show_docid=d3607d90003ea31c</guid>
  <author>
  bill.richa...@greyskin.co.uk
  (bill richards)
  </author>
  <pubDate>Tue, 05 Jan 2010 21:49:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/a136261a903c20d4?show_docid=a136261a903c20d4</link>
  <description>
  It&#39;s it not that the stub is causing your test to fail ... It is that &lt;br&gt; the stub can&#39;t quite do its job until some prerequisites are met...the &lt;br&gt; one here that you are running into is that stubbed methods need to be &lt;br&gt; virtual ( this is so that dynamic proxy can proxy the method ) &lt;br&gt; Tim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/a136261a903c20d4?show_docid=a136261a903c20d4</guid>
  <author>
  timba...@gmail.com
  (Tim Barcz)
  </author>
  <pubDate>Tue, 05 Jan 2010 12:28:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/37dee93ffe84ee2a?show_docid=37dee93ffe84ee2a</link>
  <description>
  Well, excuse me, Bill. The Rhino documentation clearly states that &lt;br&gt; generating a stub will never fail a test. Well, it does! And there ARE &lt;br&gt; mock products that can actually create a thorough stub, stubbing all &lt;br&gt; methods of an existing class, virtual or not, so excuse me again for &lt;br&gt; my learning curve using Rhino. Saying test-driven developing means you
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/37dee93ffe84ee2a?show_docid=37dee93ffe84ee2a</guid>
  <author>
  wouter.wig...@gmail.com
  (Wigman)
  </author>
  <pubDate>Tue, 05 Jan 2010 07:39:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Deserialization error while using int[] as a parameter</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/e13edfe2bbbbaf8a?show_docid=e13edfe2bbbbaf8a</link>
  <description>
  Hi Tim, &lt;br&gt; I have a test case with the code: &lt;br&gt; My expectation setting for the call is like below. &lt;br&gt; Expect.On(MTInterface).Call(MT Interface.TestMethod(0, null, null, out &lt;br&gt; ResultDataset, out &lt;br&gt; ErrorMsg)).OutRef(ResultDatase t).Return(0).IgnoreArguments() .Constraints(Is.Equal(52), &lt;br&gt; Is.Anything(), Is.Anything(), Is.Anything(), Is.Anything());
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/e13edfe2bbbbaf8a?show_docid=e13edfe2bbbbaf8a</guid>
  <author>
  prabu...@gmail.com
  (Praburaj Thiagarajan)
  </author>
  <pubDate>Tue, 05 Jan 2010 06:38:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/cb624ae2a2a7e86d?show_docid=cb624ae2a2a7e86d</link>
  <description>
  and just to add to these perfectly explanatory responses .... this i &lt;br&gt; the result of NOT developing your code in a test driven manner
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/cb624ae2a2a7e86d?show_docid=cb624ae2a2a7e86d</guid>
  <author>
  bill.richa...@greyskin.co.uk
  (bill richards)
  </author>
  <pubDate>Mon, 04 Jan 2010 22:06:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/e1f225d5c6775e82?show_docid=e1f225d5c6775e82</link>
  <description>
  I&#39;ll be honest in that I don&#39;t run into this problem very often because I &lt;br&gt; almost always try to have an interface in there...and as Caio pointed out, &lt;br&gt; it&#39;s not a problem that shows up when programming interfaces. &lt;br&gt; Tim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/e1f225d5c6775e82?show_docid=e1f225d5c6775e82</guid>
  <author>
  timba...@gmail.com
  (Tim Barcz)
  </author>
  <pubDate>Mon, 04 Jan 2010 20:48:53 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/60359eab6e483a13?show_docid=60359eab6e483a13</link>
  <description>
  I think most of the time, when you are programming against interfaces &lt;br&gt; rather than against implementations, you will not have that problem, &lt;br&gt; once rhino.mocks can just implement that interface instead of &lt;br&gt; inheriting from your implementation
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/60359eab6e483a13?show_docid=60359eab6e483a13</guid>
  <author>
  cai...@gmail.com
  (Caio Kinzel Filho)
  </author>
  <pubDate>Mon, 04 Jan 2010 19:53:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/787f411078fee463?show_docid=787f411078fee463</link>
  <description>
  Ok, now I know, thanx a million! Too bad i have to adjust the &lt;br&gt; &#39;visibility&#39; of my methods just to get the testing part in order.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/787f411078fee463?show_docid=787f411078fee463</guid>
  <author>
  wouter.wig...@gmail.com
  (Wigman)
  </author>
  <pubDate>Mon, 04 Jan 2010 19:49:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Deserialization error while using int[] as a parameter</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/8594f8433dce5d05?show_docid=8594f8433dce5d05</link>
  <description>
  Can you provide a failing test that I (we) can run?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/8594f8433dce5d05?show_docid=8594f8433dce5d05</guid>
  <author>
  timba...@gmail.com
  (Tim Barcz)
  </author>
  <pubDate>Mon, 04 Jan 2010 16:24:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/88bafef25dae3a1c?show_docid=88bafef25dae3a1c</link>
  <description>
  The Test method is not virtual, so RhinoMocks cannot override it to do &lt;br&gt; nothing.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/88bafef25dae3a1c?show_docid=88bafef25dae3a1c</guid>
  <author>
  j...@jonorossi.com
  (Jonathon Rossi)
  </author>
  <pubDate>Mon, 04 Jan 2010 15:02:46 UT
</pubDate>
  </item>
  <item>
  <title>Stubbing existing classes doesn&#39;t work like expected</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/07e6b9ff6906439b?show_docid=07e6b9ff6906439b</link>
  <description>
  When stubbing a class i expect the original class code is not &lt;br&gt; executed. However, the following example does throw an exception(&amp;quot;We &lt;br&gt; don&#39;t expect this to be thrown&amp;quot;). I thought stubs never failed a test. &lt;br&gt; What am I doing wrong here? How can i make Rhino stub the existing &lt;br&gt; class properly, so calling Test() does not give errors?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/3500378ecdd4795c/07e6b9ff6906439b?show_docid=07e6b9ff6906439b</guid>
  <author>
  wouter.wig...@gmail.com
  (Wigman)
  </author>
  <pubDate>Mon, 04 Jan 2010 14:40:32 UT
</pubDate>
  </item>
  <item>
  <title>Deserialization error while using int[] as a parameter</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/68b84a966eed16eb?show_docid=68b84a966eed16eb</link>
  <description>
  Hi, &lt;br&gt; I am using Rhino mocks 3.5 for mocking our web service. I am using a &lt;br&gt; PartialMock and the mock works fine for other methods but fails for a &lt;br&gt; method which has int[] as an argument. On changing the argument to int &lt;br&gt; this works fine. &lt;br&gt; int TestMethod(int MethodIndex, IDValuePair[] MethodArguments, int[] &lt;br&gt; SecurityIds, out System.Data.DataSet ResultData, out string ErrorMsg);
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/ee0a56210149eb5f/68b84a966eed16eb?show_docid=68b84a966eed16eb</guid>
  <author>
  prabu...@gmail.com
  (Prabu)
  </author>
  <pubDate>Mon, 04 Jan 2010 13:32:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: [RhinoMocks] Mock all instances of a class</title>
  <link>http://groups.google.com/group/rhinomocks/browse_thread/thread/1fd7081b74bcfad8/602d34722b7b537f?show_docid=602d34722b7b537f</link>
  <description>
  &amp;quot;Do I need to mock the 3 objects?&amp;quot; Yes.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rhinomocks/browse_thread/thread/1fd7081b74bcfad8/602d34722b7b537f?show_docid=602d34722b7b537f</guid>
  <author>
  timba...@gmail.com
  (Tim Barcz)
  </author>
  <pubDate>Mon, 28 Dec 2009 19:42:36 UT
</pubDate>
  </item>
  </channel>
</rss>
