<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: ASP.NET MVC Test</title>
	<atom:link href="http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/</link>
	<description>Developer Flotsam - random stuff floating around?</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:46:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: jakkaj</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-82</link>
		<dc:creator><![CDATA[jakkaj]]></dc:creator>
		<pubDate>Tue, 06 May 2008 22:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-82</guid>
		<description><![CDATA[Hi.
The functionality to pretty-up source code like that is built in to Wordpress - here is a link with more info: http://ilmatte.wordpress.com/2008/01/17/wordpress-sourcecode-tag-and-themes/.

Cheers.]]></description>
		<content:encoded><![CDATA[<p>Hi.<br />
The functionality to pretty-up source code like that is built in to WordPress &#8211; here is a link with more info: <a href="http://ilmatte.wordpress.com/2008/01/17/wordpress-sourcecode-tag-and-themes/" rel="nofollow">http://ilmatte.wordpress.com/2008/01/17/wordpress-sourcecode-tag-and-themes/</a>.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yuren1978</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-81</link>
		<dc:creator><![CDATA[yuren1978]]></dc:creator>
		<pubDate>Tue, 06 May 2008 18:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-81</guid>
		<description><![CDATA[How do you format your code in your post?

You have nice formatted code, do you use any tool to format your code.

Thanks,
J.W.]]></description>
		<content:encoded><![CDATA[<p>How do you format your code in your post?</p>
<p>You have nice formatted code, do you use any tool to format your code.</p>
<p>Thanks,<br />
J.W.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jakkaj</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-45</link>
		<dc:creator><![CDATA[jakkaj]]></dc:creator>
		<pubDate>Wed, 06 Feb 2008 11:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-45</guid>
		<description><![CDATA[Hi Sudarshan,

Are you able to post the test code you are having problems with?

In the code I posted, there is a line that passes the mock context object into the SnippetController class (which is derived from Controller)... controller.ControllerContext = contextMock;

This is only a guess though without seeing your code.]]></description>
		<content:encoded><![CDATA[<p>Hi Sudarshan,</p>
<p>Are you able to post the test code you are having problems with?</p>
<p>In the code I posted, there is a line that passes the mock context object into the SnippetController class (which is derived from Controller)&#8230; controller.ControllerContext = contextMock;</p>
<p>This is only a guess though without seeing your code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudarshan</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-44</link>
		<dc:creator><![CDATA[Sudarshan]]></dc:creator>
		<pubDate>Wed, 06 Feb 2008 10:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-44</guid>
		<description><![CDATA[Hi,

Great Article.

I implement Scott Guru&#039;s sample and added the code for TestViewEngine. But, when I ran the test for &quot;Detail&quot; method, it throws following exception:

Test method MyStoreTest.Controllers.ProductsControllerTest.Detail threw exception:  System.ArgumentNullException: Value cannot be null.
Parameter name: controllerContext.

Do you have any idea why this is occuring?]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Great Article.</p>
<p>I implement Scott Guru&#8217;s sample and added the code for TestViewEngine. But, when I ran the test for &#8220;Detail&#8221; method, it throws following exception:</p>
<p>Test method MyStoreTest.Controllers.ProductsControllerTest.Detail threw exception:  System.ArgumentNullException: Value cannot be null.<br />
Parameter name: controllerContext.</p>
<p>Do you have any idea why this is occuring?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jakkaj</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-40</link>
		<dc:creator><![CDATA[jakkaj]]></dc:creator>
		<pubDate>Wed, 16 Jan 2008 06:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-40</guid>
		<description><![CDATA[Hi Garth,

Thanks for your comment.

I would look at first sight like you are missing the following in your test view class.

 #region IView Members

        public void RenderView(ViewContext viewContext)
        {
            //throw new NotImplementedException();
        }

Double check this and let me know how you get on...]]></description>
		<content:encoded><![CDATA[<p>Hi Garth,</p>
<p>Thanks for your comment.</p>
<p>I would look at first sight like you are missing the following in your test view class.</p>
<p> #region IView Members</p>
<p>        public void RenderView(ViewContext viewContext)<br />
        {<br />
            //throw new NotImplementedException();<br />
        }</p>
<p>Double check this and let me know how you get on&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garth</title>
		<link>http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-39</link>
		<dc:creator><![CDATA[Garth]]></dc:creator>
		<pubDate>Tue, 15 Jan 2008 09:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://jakkaj.wordpress.com/2008/01/04/aspnet-mvc-test/#comment-39</guid>
		<description><![CDATA[hey thanks for the great post!really useful since i&#039;ve been trying to implement unit testing with no success after trying scott gu&#039;s tutorials.

There just this error that i am getting:

Error	2	&#039;MvcApplicationTest.TestView&#039; does not implement interface member &#039;System.Web.Mvc.IView.RenderView(System.Web.Mvc.ViewContext)&#039;

Could you please guide me to where my error could be found or  solved.

Thanks]]></description>
		<content:encoded><![CDATA[<p>hey thanks for the great post!really useful since i&#8217;ve been trying to implement unit testing with no success after trying scott gu&#8217;s tutorials.</p>
<p>There just this error that i am getting:</p>
<p>Error	2	&#8216;MvcApplicationTest.TestView&#8217; does not implement interface member &#8216;System.Web.Mvc.IView.RenderView(System.Web.Mvc.ViewContext)&#8217;</p>
<p>Could you please guide me to where my error could be found or  solved.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

