<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>NMock3 Discussions Rss Feed</title><link>http://nmock3.codeplex.com/Thread/List.aspx</link><description>NMock3 Discussions Rss Description</description><item><title>New Post: Horrifyingly Noobish Question</title><link>http://nmock3.codeplex.com/discussions/281103</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for the tip, but our benevolent overlords have made it academic: &amp;nbsp;NMock is not approved software, so we're using Moq.&lt;/p&gt;&lt;/div&gt;</description><author>rossentj</author><pubDate>Fri, 06 Jul 2012 17:34:29 GMT</pubDate><guid isPermaLink="false">New Post: Horrifyingly Noobish Question 20120706053429P</guid></item><item><title>New Post: Horrifyingly Noobish Question</title><link>http://nmock3.codeplex.com/discussions/281103</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Tried using the mock&lt;strong&gt;.MockObject&lt;/strong&gt; property?&lt;/p&gt;
&lt;p&gt;i.e.,&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;IRestServiceClient client = new RestServiceClient((IRestRequestBuilderFactory)restRequestBuilderFactory&lt;strong&gt;.MockObject&lt;/strong&gt;);&lt;/pre&gt;&lt;/div&gt;</description><author>jim4u</author><pubDate>Fri, 06 Jul 2012 12:46:24 GMT</pubDate><guid isPermaLink="false">New Post: Horrifyingly Noobish Question 20120706124624P</guid></item><item><title>New Post: MockStyle.Transparent not working?</title><link>http://nmock3.codeplex.com/discussions/351835</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I wanted to ask this publicly before opening up an issue, but it appears to me that MockStyle.Transparent is not working as designed. &amp;nbsp;I'm currently using it to mock a class, then stub out single functions of that class (tried with and without the abstract
 modifier on the class). &amp;nbsp;Each function I'm stubbing is public, and I've tried with and without the virtual modifier.&lt;/p&gt;
&lt;p&gt;The problem I'm seeing is that even after stubbing a method, the underlying implementation is still executed. &amp;nbsp;The return value, however, is the one specified in my Stub.Out.Method command. &amp;nbsp;So what I observe is that my tests pass, but the underlying
 implementation throws all kinds of errors when it's executed. &amp;nbsp;Here's a simple example:&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
MockFactory mocks;&lt;br&gt;
Mock&amp;lt;Database&amp;gt; dbMock = mocks.CreateMock&amp;lt;Database&amp;gt;(MockStyle.Transparent);&lt;br&gt;
dbMock.Stub.Out.Method(x =&amp;gt; x.WriteData(null).WithAnyArguments().WillReturn(&amp;quot;customReturnVal&amp;quot;);&lt;br&gt;
Assert.AreEqual(&amp;quot;customReturnVal&amp;quot;, dbMock.WriteData(null));&lt;/p&gt;
&lt;p&gt;&lt;br&gt;
The test passes, but the actual implementation of WriteData(null) is executed! &amp;nbsp;Is there something I'm likely to be missing? &amp;nbsp;Please let me know if more info is desired, thanks.&lt;/p&gt;
&lt;/div&gt;</description><author>brianFaires</author><pubDate>Tue, 10 Apr 2012 19:30:03 GMT</pubDate><guid isPermaLink="false">New Post: MockStyle.Transparent not working? 20120410073003P</guid></item><item><title>New Post: Compiling NMock 3.0 RTM</title><link>http://nmock3.codeplex.com/discussions/245846</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Sorry, seems like I wasn't subscribed to this thread and didn't see the replies.&lt;/p&gt;
&lt;p&gt;@alaendle: Nope. Sorry, I'm not even looking for a "solution" right now since I don't see having two NMock DLLs as a problem. I doubt there even is a way to avoid that since you can't put InternalsVisibleTo() to a strong-named assembly in a weak-named one and vice versa.&lt;/p&gt;
&lt;p&gt;@deftware: I think I used xbuild on Mono 2.6 or 2.8. I'm currently running Mono 2.10.5 and there are 3 compilation errors, one seems trivial and the other two are probably due to a missing reference to System.Configuration.dll. Shouldn't be too hard to fix :)&lt;/p&gt;&lt;/div&gt;</description><author>Cygon</author><pubDate>Tue, 29 Nov 2011 14:19:23 GMT</pubDate><guid isPermaLink="false">New Post: Compiling NMock 3.0 RTM 20111129021923P</guid></item><item><title>New Post: Horrifyingly Noobish Question</title><link>http://nmock3.codeplex.com/discussions/281103</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Sorry for the confusion - I assigned &lt;em&gt;factory&lt;/em&gt;&amp;nbsp;to a var named &lt;em&gt;restRequestBuilderFactory&lt;/em&gt;&amp;nbsp;as part of a failed debugging attempt.&lt;/p&gt;&lt;/div&gt;</description><author>rossentj</author><pubDate>Mon, 28 Nov 2011 23:30:07 GMT</pubDate><guid isPermaLink="false">New Post: Horrifyingly Noobish Question 20111128113007P</guid></item><item><title>New Post: Horrifyingly Noobish Question</title><link>http://nmock3.codeplex.com/discussions/281103</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I can't figure out why I'm getting a cast exception on this line:&lt;/p&gt;
&lt;pre&gt;&lt;span style="color:#ff0000"&gt;            IRestServiceClient client = new RestServiceClient((IRestRequestBuilderFactory)restRequestBuilderFactory);
&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color:#000080"&gt;The mock is declared here:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private Mock&amp;lt;IRestRequestBuilderFactory&amp;gt; factory;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and created in the SetUp method:&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; factory = mockFactory.CreateMock&amp;lt;IRestRequestBuilderFactory&amp;gt;();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I must be missing something fundamental: if a mock can't be cast to the interface it's supposedly mocking, what kind of a mock is it?&lt;/p&gt;
&lt;p&gt;I'm using NMock3 with Visual Studio 2008, so I can't run the tutorial. &amp;nbsp;I can't find any other documentation online, including the legendary NMock3 cheat sheet.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space:pre"&gt;C&lt;/span&gt;omplete listing:&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;pre&gt;&lt;div style="color:black; background-color:white"&gt;&lt;pre&gt;&lt;span style="color:blue"&gt;using&lt;/span&gt; System;
&lt;span style="color:blue"&gt;using&lt;/span&gt; System.Collections.Generic;
&lt;span style="color:blue"&gt;using&lt;/span&gt; System.Text;
&lt;span style="color:blue"&gt;using&lt;/span&gt; GPICore.Repository.WebService;
&lt;span style="color:blue"&gt;using&lt;/span&gt; NMock2;
&lt;span style="color:blue"&gt;using&lt;/span&gt; NUnit.Framework;

&lt;span style="color:blue"&gt;namespace&lt;/span&gt; NorthernTrust.GPI.Home.Test.UnitTest.Repository.WebService
{

    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; NMockTempTest
    {
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;readonly&lt;/span&gt; RestResourceType ResourceType = RestResourceType.SplashMessage;
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;readonly&lt;/span&gt; RestResourceMethod Method = RestResourceMethod.GET;

        &lt;span style="color:blue"&gt;private&lt;/span&gt; MockFactory mockFactory;
        &lt;span style="color:blue"&gt;private&lt;/span&gt; Mock&amp;lt;IRestRequest&amp;gt; request;
        &lt;span style="color:blue"&gt;private&lt;/span&gt; Mock&amp;lt;IRestRequestBuilderFactory&amp;gt; factory;
        &lt;span style="color:blue"&gt;private&lt;/span&gt; Mock&amp;lt;IRestRequestBuilder&amp;gt; builder;

        [SetUp]
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Setup()
        {
            mockFactory = &lt;span style="color:blue"&gt;new&lt;/span&gt; MockFactory();
            request = mockFactory.CreateMock&amp;lt;IRestRequest&amp;gt;();
            factory = mockFactory.CreateMock&amp;lt;IRestRequestBuilderFactory&amp;gt;();
            Assert.NotNull(factory);
            builder = mockFactory.CreateMock&amp;lt;IRestRequestBuilder&amp;gt;();
        }

        [Test]
        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; TheServiceBuildsTheRequest()
        {
            factory.Expects.One.MethodWith(f =&amp;gt; f.GetBuilder()).WillReturn(builder &lt;span style="color:blue"&gt;as&lt;/span&gt; IRestRequestBuilder);

            builder.Expects.One.MethodWith(b =&amp;gt; b.ResourceType(ResourceType))
                .WillReturn(builder &lt;span style="color:blue"&gt;as&lt;/span&gt; IRestRequestBuilder);
            builder.Expects.One.MethodWith(b =&amp;gt; b.Method(Method))
                .WillReturn(builder &lt;span style="color:blue"&gt;as&lt;/span&gt; IRestRequestBuilder);
            builder.Expects.One.MethodWith(b =&amp;gt; b.Build()).WillReturn(request &lt;span style="color:blue"&gt;as&lt;/span&gt; IRestRequest);

            &lt;span style="color:blue"&gt;var&lt;/span&gt; restRequestBuilderFactory = factory;
            Assert.NotNull(restRequestBuilderFactory);
            IRestServiceClient client = new RestServiceClient((IRestRequestBuilderFactory)restRequestBuilderFactory);

            client.Get(ResourceType, &lt;span style="color:#a31515"&gt;&amp;quot;&amp;quot;&lt;/span&gt;);
            mockFactory.VerifyAllExpectationsHaveBeenMet();
        }
    }
}

&lt;/pre&gt;
&lt;/div&gt;
The error message:&lt;/pre&gt;
&lt;pre&gt;&lt;span style="font-family:'Segoe UI','Microsoft Sans Serif',Arial,Geneva,sans-serif; font-size:20px; font-weight:bold; white-space:normal"&gt;TheServiceBuildsTheRequest : Failed&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;div&gt;System.InvalidCastException&amp;nbsp;:&amp;nbsp;Unable&amp;nbsp;to&amp;nbsp;cast&amp;nbsp;object&amp;nbsp;of&amp;nbsp;type&amp;nbsp;'NMock2.Mock`1[GPICore.Repository.WebService.IRestRequestBuilderFactory]'&amp;nbsp;to&amp;nbsp;type&amp;nbsp;'GPICore.Repository.WebService.IRestRequestBuilderFactory'.&lt;/div&gt;
&lt;div&gt;at&amp;nbsp;&lt;span&gt;&lt;span&gt;NorthernTrust.GPI.Home.Test.UnitTest.Repository.WebService.NMockTempTest&lt;/span&gt;&lt;/span&gt;.&lt;span&gt;TheServiceBuildsTheRequest&lt;/span&gt;() in&amp;nbsp;&lt;a href=""&gt;NMockTempTest.cs:&amp;nbsp;line&amp;nbsp;44&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>rossentj</author><pubDate>Mon, 28 Nov 2011 23:27:30 GMT</pubDate><guid isPermaLink="false">New Post: Horrifyingly Noobish Question 20111128112730P</guid></item><item><title>New Post: Compiling NMock 3.0 RTM</title><link>http://nmock3.codeplex.com/discussions/245846</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Cygon,&lt;/p&gt;
&lt;p&gt;have you finally found a solution how you can avoid exposing Castle.* namespaces in your assembly without having the problem to distinguish between assemblies with/without strong name?&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;/div&gt;</description><author>alaendle</author><pubDate>Wed, 16 Nov 2011 15:33:15 GMT</pubDate><guid isPermaLink="false">New Post: Compiling NMock 3.0 RTM 20111116033315P</guid></item><item><title>New Post: Using matchers</title><link>http://nmock3.codeplex.com/discussions/258778</link><description>&lt;div style="line-height: normal;"&gt;&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;It would be nice if&amp;nbsp; we could&amp;nbsp; specify expectations as mockCar.Expects.One.Method(x =&amp;gt; x.Print(With(new CarMatcher(car)) ) similar to jmock2&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;&lt;strong&gt;jim4u wrote:&lt;/strong&gt;&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote style="border: solid .1em #ccc; font-style: italic; margin: .25em 1em 0 1em; padding: 0 .25em 0 .25em;"&gt;
&lt;p&gt;No complaints anymore.&lt;/p&gt;
&lt;p&gt;I can use null in the lambda expression like this:&amp;nbsp;this.mockCar.Expects.One.Method(x =&amp;gt; x.Print(null).With(new CarMatcher(car));&lt;/p&gt;
&lt;p&gt;I figure it is okay to&amp;nbsp;use either&amp;nbsp;use null or default(Car) along with matchers.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i&lt;/p&gt;
&lt;div id="_mcePaste" class="mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/div&gt;
&lt;/blockquote&gt;&lt;/div&gt;</description><author>isaiahp</author><pubDate>Mon, 17 Oct 2011 09:51:56 GMT</pubDate><guid isPermaLink="false">New Post: Using matchers 20111017095156A</guid></item><item><title>New Post: Setting return value is mandatory?</title><link>http://nmock3.codeplex.com/discussions/272249</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;NMock.IncompleteExpectationException: You have to set the return value for method 'ListTeacherSignatures' on 'resultChoiceModel' mock.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I have written an expectation on a method in a mock object that actually returns a value, but I have not specified a 'With' or 'MethodWith'. I usually do this when the method itself is not created. I write a failing test for it, create the method, make it
 pass &lt;em&gt;and then&lt;/em&gt; write expectations on what should happen if that method returns some value. This exception forces me to specify the return value at the beginning itself.&lt;/p&gt;
&lt;p&gt;Is this by design because it is a good practice or..?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;
&lt;/div&gt;</description><author>jim4u</author><pubDate>Mon, 12 Sep 2011 06:47:43 GMT</pubDate><guid isPermaLink="false">New Post: Setting return value is mandatory? 20110912064743A</guid></item><item><title>New Post: Silverlight support</title><link>http://nmock3.codeplex.com/discussions/262536</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I have not worked on SilverLight yet, this was for a colleague. I have passed on this link to him.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;&lt;/div&gt;</description><author>jim4u</author><pubDate>Mon, 12 Sep 2011 06:43:54 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight support 20110912064354A</guid></item><item><title>New Post: Mocking members</title><link>http://nmock3.codeplex.com/discussions/262538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm sorry for the rather late reply.&lt;/p&gt;
&lt;p&gt;As I said, it would be nice if Stub of a type will automatically create stubs of member properties also. No, setting of properties don't need to be taken care of. We just want to avoid creating stubs of member properties &lt;em&gt;and&lt;/em&gt; therefore operations on the members of the properties. I don't know if we need to do anything about method calls.&lt;/p&gt;
&lt;p&gt;I don't understand when you say that &amp;lt;&lt;em&gt;Stub may also go away because a Mock&amp;lt;T&amp;gt; created by using the MockStyle.Default because it supports stubbing automatically.&lt;/em&gt;&amp;gt;. What if we don't care about any interactions with a mock object? Then, we can create a mock of that object by specifying MockStyle.Stub. If we use MockStyle.Default, we have to write code to Stub out interaction with each member like you have done.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;&lt;/div&gt;</description><author>jim4u</author><pubDate>Thu, 11 Aug 2011 09:32:28 GMT</pubDate><guid isPermaLink="false">New Post: Mocking members 20110811093228A</guid></item><item><title>New Post: Mocking members</title><link>http://nmock3.codeplex.com/discussions/262538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim4u,&lt;/p&gt;
&lt;p&gt;I am working on some unit tests for the Stub feature in NMock3.&amp;nbsp; Can you give me some examples of how you think it should work and I will get the code shored up.&amp;nbsp; I need to know if you expect to be able to stub event handlers and setting of properties.&amp;nbsp; I can only think of reasons to stub property gets and method calls.&amp;nbsp; I am looking into recursivestub and that looks like it may go away.&amp;nbsp; Stub may also go away because a Mock&amp;lt;T&amp;gt; created by using the MockStyle.Default because it supports stubbing automatically.&amp;nbsp; Here is an example&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;private&lt;/span&gt; Mock&amp;lt;IParentInterface&amp;gt; parentInterfaceMock;
parentInterfaceMock = Factory.CreateMock&amp;lt;IParentInterface&amp;gt;(&lt;span style="color: #a31515;"&gt;"parentInterfaceMock"&lt;/span&gt;);


mock.Stub.Out.GetProperty(_ =&amp;gt; _.ReadWriteObjectProperty, &lt;span style="color: blue;"&gt;new&lt;/span&gt; Version(1, 2, 3, 4));
Version v = mock.MockObject.ReadWriteObjectProperty;
Version v2 = mock.MockObject.ReadWriteObjectProperty;

Assert.IsTrue(v.Major == 1 &amp;amp;&amp;amp; v.Minor == 2 &amp;amp;&amp;amp; v.Build == 3 &amp;amp;&amp;amp; v.Revision == 4);
Assert.IsTrue(v2.Major == 1 &amp;amp;&amp;amp; v2.Minor == 2 &amp;amp;&amp;amp; v2.Build == 3 &amp;amp;&amp;amp; v2.Revision == 4);

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description><author>pwolfe</author><pubDate>Thu, 28 Jul 2011 16:09:59 GMT</pubDate><guid isPermaLink="false">New Post: Mocking members 20110728040959P</guid></item><item><title>New Post: Silverlight support</title><link>http://nmock3.codeplex.com/discussions/262536</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;On the downloads page there is now a SL4 version for Silverlight.&lt;/p&gt;
&lt;p&gt;Don't forget to help the folks at &lt;a href="http://agunit.codeplex.com/"&gt;http://agunit.codeplex.com/&lt;/a&gt;&amp;nbsp;and their Silverlight testing plug-in for Resharper 6.&amp;nbsp; If you aren't using Resharper, I would like to know if you are using the Visual Studio Silverlight testing framework or something else.&lt;/p&gt;
&lt;p&gt;If you download the source code for NMock3, there are Silverlight unit tests you can look at.&lt;/p&gt;&lt;/div&gt;</description><author>pwolfe</author><pubDate>Thu, 28 Jul 2011 13:51:09 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight support 20110728015109P</guid></item><item><title>New Post: Mocking members</title><link>http://nmock3.codeplex.com/discussions/262538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This will save us some work.&amp;nbsp; I create mocks of some objects by using the MockStyle.Stub parameter when I don't really care about the operations done on that object. If that object has properties that are again interface types, for example public IMovable Movable, I have to explicitly create&amp;nbsp;mocks for them too. It would be nice if it can be like MOQ and I won't have to create stubs for the members when I have created a stub of the object.&lt;/p&gt;
&lt;p&gt;Can you please let me know what RecursiveStub means?&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;&lt;/div&gt;</description><author>jim4u</author><pubDate>Thu, 28 Jul 2011 08:28:59 GMT</pubDate><guid isPermaLink="false">New Post: Mocking members 20110728082859A</guid></item><item><title>New Post: Silverlight support</title><link>http://nmock3.codeplex.com/discussions/262536</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello, where can I find it? Is it included in the latest download?&lt;/p&gt;&lt;/div&gt;</description><author>jim4u</author><pubDate>Thu, 28 Jul 2011 08:23:58 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight support 20110728082358A</guid></item><item><title>New Post: Mocking members</title><link>http://nmock3.codeplex.com/discussions/262538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Jim4u,&lt;/p&gt;
&lt;p&gt;That is what the Stub is supposed to do.&amp;nbsp; I haven't spent much time with it, I have only converted it from what NMock2 did with it.&amp;nbsp; If it is something you are finding lots of uses for, I can look into it.&lt;/p&gt;&lt;/div&gt;</description><author>pwolfe</author><pubDate>Wed, 27 Jul 2011 17:08:12 GMT</pubDate><guid isPermaLink="false">New Post: Mocking members 20110727050812P</guid></item><item><title>New Post: Silverlight support</title><link>http://nmock3.codeplex.com/discussions/262536</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Jim4u,&lt;/p&gt;
&lt;p&gt;Please check out the new Silverlight binary and let me know what you think!&lt;/p&gt;&lt;/div&gt;</description><author>pwolfe</author><pubDate>Wed, 27 Jul 2011 17:05:57 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight support 20110727050557P</guid></item><item><title>New Post: Mocking members</title><link>http://nmock3.codeplex.com/discussions/262538</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;A colleague showed me how MOQ can create a mock of not only an object, but also the members of that object.&lt;/p&gt;
&lt;p&gt;For example, if you have an interface ICar which has a property Controller which is defined as IControllable, then when you create a mock of ICar, MOQ creates a mock automatically for the Controller property too.&lt;/p&gt;
&lt;p&gt;Is there any way to achieve a similar behaviour using NMock3? I have tried creating mocks with Stub, RecursiveStub, options...&lt;/p&gt;
&lt;/div&gt;</description><author>jim4u</author><pubDate>Thu, 23 Jun 2011 17:11:44 GMT</pubDate><guid isPermaLink="false">New Post: Mocking members 20110623051144P</guid></item><item><title>New Post: Silverlight support</title><link>http://nmock3.codeplex.com/discussions/262536</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Is there a silverlight version of NMock3? Are we planning this in future?&lt;/p&gt;
&lt;/div&gt;</description><author>jim4u</author><pubDate>Thu, 23 Jun 2011 17:08:29 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight support 20110623050829P</guid></item><item><title>New Post: Compiling NMock 3.0 RTM</title><link>http://nmock3.codeplex.com/discussions/245846</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Greetings Cygon,&lt;/p&gt;
&lt;p&gt;I'm trying to build nmock3 using monodevelop 2.2 (the version that comes with Ubuntu 10.04LTS). I've managed to apply the patch, but I'm still having some issues. (The compiler just seems to explode). Can you tell me what version of mono you used to build your patched version?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Peter-Frank Spierenburg.&lt;/p&gt;&lt;/div&gt;</description><author>deftware</author><pubDate>Sun, 12 Jun 2011 05:12:40 GMT</pubDate><guid isPermaLink="false">New Post: Compiling NMock 3.0 RTM 20110612051240A</guid></item></channel></rss>